Error by the mixfunction

Please format your code appropriately using 3x` encapsulation.

For your particular problem, it seems like you are trying to interpolate initial conditions into a sub space.

To do this you should interpolate into the collapsed sub space, and in turn use FunctionAssigner.
See for instance: