Solution of material balances for flowsheets modelled with elementary modules: The unconstrained case