Skip to content

add_remoting() not listening to validate=False #813

@tjohanssonn

Description

@tjohanssonn

When calling simulate_fmu(fmu_file, validate=False, start_time=0.0, stop_time=10.0, step_size=0.01), the FMU is still validated. This is due to the internal call to add_remoting() in simulation.py@L766 does not pass on the validate=False flag which should've been used by read_model_description() in util.py@L677.

If having an FMU that does not pass the strict validation it will still not be able to start the simulation since validation is still active when remote_platform != None.

Environment:

  • Windows 11 Version 10.0.22631 Build 22631
  • fmpy v0.3.26
  • Python 3.10.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions