Fixed problem with inputs for co-simulation. Related to ticket:2765