Analysis and low-order modeling of the inhomogeneous transitional flow inside a T-mixer