Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009961/0.0009961, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009885/0.0009885, allocations: 217.9 kB / 22.25 MB, free: 3.574 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9624/0.9624, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.9/0.9, allocations: 154.1 MB / 466.6 MB, free: 3.32 MB / 362.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 83.86 kB / 0.6437 GB, free: 28.39 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1905, allocations: 88.78 MB / 0.7305 GB, free: 3.418 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Inversion.MediumInversion): time 0.5869/0.7774, allocations: 128.4 MB / 0.8559 GB, free: 300 kB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0005679/0.778, allocations: 371.4 kB / 0.8562 GB, free: 268 kB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.778, allocations: 0.5 kB / 0.8562 GB, free: 268 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.7783, allocations: 25.92 kB / 0.8562 GB, free: 260 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0004319/0.7787, allocations: 140.7 kB / 0.8564 GB, free: 224 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.7791, allocations: 122.5 kB / 0.8565 GB, free: 208 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.7793, allocations: 134.7 kB / 0.8566 GB, free: 184 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.7793, allocations: 4.406 kB / 0.8566 GB, free: 184 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.7795, allocations: 75.05 kB / 0.8567 GB, free: 172 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.7796, allocations: 38.05 kB / 0.8567 GB, free: 172 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.7796, allocations: 4.125 kB / 0.8567 GB, free: 172 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.7799, allocations: 169.6 kB / 0.8569 GB, free: 160 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.574e-05/0.78, allocations: 19.75 kB / 0.8569 GB, free: 160 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.7801, allocations: 29.55 kB / 0.8569 GB, free: 156 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.7804, allocations: 199.6 kB / 0.8571 GB, free: 144 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.7804, allocations: 4.156 kB / 0.8571 GB, free: 144 kB / 0.6355 GB Notification: Performance of FrontEnd: time 3.436e-06/0.7804, allocations: 0 / 0.8571 GB, free: 144 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.7804, allocations: 0 / 0.8571 GB, free: 144 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005355/0.781, allocations: 299.8 kB / 0.8574 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.781, allocations: 9.875 kB / 0.8574 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.7811, allocations: 39.14 kB / 0.8575 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.7814, allocations: 36.31 kB / 0.8575 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.7817, allocations: 137 kB / 0.8576 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.7818, allocations: 5.812 kB / 0.8576 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.7818, allocations: 2.844 kB / 0.8576 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.7821, allocations: 199.2 kB / 0.8578 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.7821, allocations: 0 / 0.8578 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.7821, allocations: 4.75 kB / 0.8578 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.7821, allocations: 1.375 kB / 0.8578 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.7823, allocations: 63.7 kB / 0.8579 GB, free: 15.53 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000899/0.7832, allocations: 495.4 kB / 0.8584 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.7834, allocations: 71.31 kB / 0.8584 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.36e-05/0.7834, allocations: 26.62 kB / 0.8585 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.7835, allocations: 8.844 kB / 0.8585 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.7835, allocations: 35.92 kB / 0.8585 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 3.597e-06/0.7835, allocations: 1.203 kB / 0.8585 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0003043/0.7838, allocations: 112.6 kB / 0.8586 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.7838, allocations: 52.94 kB / 0.8587 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.784, allocations: 123.7 kB / 0.8588 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.784, allocations: 27.23 kB / 0.8588 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.784, allocations: 102.2 kB / 0.8589 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.784, allocations: 14.66 kB / 0.8589 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.7841, allocations: 33.66 kB / 0.859 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.908e-05/0.7842, allocations: 316 kB / 0.8593 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.575e-05/0.7842, allocations: 30.89 kB / 0.8593 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-05/0.7843, allocations: 62.98 kB / 0.8593 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.7844, allocations: 102.2 kB / 0.8594 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7844, allocations: 1.656 kB / 0.8594 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001729/0.7846, allocations: 112 kB / 0.8596 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.7846, allocations: 10.47 kB / 0.8596 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.7846, allocations: 3.969 kB / 0.8596 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.7847, allocations: 1.531 kB / 0.8596 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.7849, allocations: 69.03 kB / 0.8596 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003326/0.7852, allocations: 0.586 MB / 0.8602 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.626e-05/0.7853, allocations: 14.45 kB / 0.8602 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.7853, allocations: 14.61 kB / 0.8602 GB, free: 13.62 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.7854, allocations: 124.2 kB / 0.8604 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.7854, allocations: 6.922 kB / 0.8604 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.7857, allocations: 123.2 kB / 0.8605 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.7857, allocations: 0 / 0.8605 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.7857, allocations: 2.516 kB / 0.8605 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.7857, allocations: 6.906 kB / 0.8605 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.7859, allocations: 171.3 kB / 0.8607 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.7859, allocations: 1.281 kB / 0.8607 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.7861, allocations: 50.62 kB / 0.8607 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.7861, allocations: 3.844 kB / 0.8607 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.7861, allocations: 8.094 kB / 0.8607 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002607/0.7864, allocations: 0.5829 MB / 0.8613 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7864, allocations: 3.938 kB / 0.8613 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.7865, allocations: 197 kB / 0.8615 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.7865, allocations: 3.875 kB / 0.8615 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.7866, allocations: 1.922 kB / 0.8615 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.415e-05/0.7866, allocations: 2.844 kB / 0.8615 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.7866, allocations: 20.34 kB / 0.8615 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.7867, allocations: 7.672 kB / 0.8615 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.725e-05/0.7867, allocations: 89.88 kB / 0.8616 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.7867, allocations: 0 / 0.8616 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002755/0.787, allocations: 32.45 kB / 0.8616 GB, free: 12.47 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004867/0.7875, allocations: 0.7509 MB / 0.8624 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.7877, allocations: 90.86 kB / 0.8624 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7877, allocations: 5.5 kB / 0.8624 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.761e-05/0.7878, allocations: 60.67 kB / 0.8625 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.788, allocations: 19.92 kB / 0.8625 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.7893, allocations: 1.489 MB / 0.864 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.518e-05/0.7893, allocations: 68.25 kB / 0.864 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.576e-05/0.7894, allocations: 21.7 kB / 0.8641 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/0.7895, allocations: 21.27 kB / 0.8641 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/0.7895, allocations: 0 / 0.8641 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.8075, allocations: 4.009 MB / 0.868 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/8.444, allocations: 10.94 kB / 0.868 GB, free: 9.449 MB / 0.6511 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_OMSimulator.pipe 2>&1) [Timeout 1260.0] OMSimulator failed or timed out simulating the FMU; the other simulators still get to run it (rm -f ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Idealized_Tests_Inversion_MediumInversion.fmu > ThermofluidStream_ThermofluidStream.Idealized.Tests.Inversion.MediumInversion_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.849979577993508]