Rates of mixing in models of fluid devices with discontinuities