Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.00168/0.00168, allocations: 106.7 kB / 16.45 MB, free: 6.02 MB / 14.72 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.002046/0.002046, allocations: 205.7 kB / 19.42 MB, free: 3.516 MB / 14.72 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 1.47/1.47, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.862/0.862, allocations: 133.9 MB / 442.8 MB, free: 11.29 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 70.03 kB / 0.6134 GB, free: 8.707 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1918, allocations: 85.85 MB / 0.6973 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6053/0.7971, allocations: 164.8 MB / 0.8582 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00635/0.8034, allocations: 4.573 MB / 0.8626 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004211/0.8039, allocations: 19.88 kB / 0.8626 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.8044, allocations: 131 kB / 0.8628 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.8054, allocations: 342.4 kB / 0.8631 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008981/0.8063, allocations: 283.9 kB / 0.8634 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008216/0.8071, allocations: 0.5534 MB / 0.8639 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.8075, allocations: 175 kB / 0.8641 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.8086, allocations: 474.2 kB / 0.8645 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.8089, allocations: 215.2 kB / 0.8647 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.8089, allocations: 16 kB / 0.8648 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.8091, allocations: 87.86 kB / 0.8648 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.8093, allocations: 87.72 kB / 0.8649 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.8094, allocations: 115.4 kB / 0.865 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004614/0.8099, allocations: 316.7 kB / 0.8653 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8099, allocations: 0 / 0.8653 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8099, allocations: 4 kB / 0.8653 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.8099, allocations: 0 / 0.8653 GB, free: 12.33 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000882/0.8108, allocations: 0.5486 MB / 0.8659 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.8108, allocations: 9.109 kB / 0.8659 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.723e-05/0.8109, allocations: 54.55 kB / 0.8659 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.8109, allocations: 27.81 kB / 0.866 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.8114, allocations: 295.3 kB / 0.8662 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.8114, allocations: 8 kB / 0.8662 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.8114, allocations: 24 kB / 0.8663 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.8119, allocations: 262 kB / 0.8665 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.8119, allocations: 0 / 0.8665 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.8119, allocations: 9.359 kB / 0.8665 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.8119, allocations: 8 kB / 0.8665 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.8123, allocations: 143.8 kB / 0.8667 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.8137, allocations: 1.372 MB / 0.868 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.814, allocations: 179.7 kB / 0.8682 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.8142, allocations: 97.05 kB / 0.8683 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003509/0.8146, allocations: 117 kB / 0.8684 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.8146, allocations: 46.5 kB / 0.8684 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.8146, allocations: 0 / 0.8684 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0006418/0.8152, allocations: 201.3 kB / 0.8686 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.8154, allocations: 188.5 kB / 0.8688 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.8157, allocations: 291 kB / 0.8691 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.8157, allocations: 33.64 kB / 0.8691 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.8158, allocations: 147.9 kB / 0.8693 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.8159, allocations: 39.75 kB / 0.8693 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.412e-05/0.816, allocations: 37.7 kB / 0.8693 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8161, allocations: 334.8 kB / 0.8696 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.8163, allocations: 49.59 kB / 0.8697 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.8165, allocations: 114.4 kB / 0.8698 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.8168, allocations: 162.7 kB / 0.87 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8168, allocations: 0 / 0.87 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000389/0.8172, allocations: 189.2 kB / 0.8701 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.8172, allocations: 11.98 kB / 0.8702 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.8172, allocations: 3.938 kB / 0.8702 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.8172, allocations: 7.938 kB / 0.8702 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.8174, allocations: 31.98 kB / 0.8702 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.8174, allocations: 7.938 kB / 0.8702 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.8176, allocations: 24.05 kB / 0.8702 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.8176, allocations: 16 kB / 0.8702 GB, free: 6.848 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.8177, allocations: 137.8 kB / 0.8704 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.8179, allocations: 31.78 kB / 0.8704 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.8182, allocations: 134.9 kB / 0.8705 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.8182, allocations: 4 kB / 0.8705 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8182, allocations: 0 / 0.8705 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.8182, allocations: 4 kB / 0.8705 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000886/0.8191, allocations: 0.773 MB / 0.8713 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.8191, allocations: 4 kB / 0.8713 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.8192, allocations: 23.92 kB / 0.8713 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.8192, allocations: 4.156 kB / 0.8713 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.8193, allocations: 4 kB / 0.8713 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-06/0.8193, allocations: 4 kB / 0.8713 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8193, allocations: 0 / 0.8713 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.8198, allocations: 339.5 kB / 0.8717 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.8199, allocations: 112.9 kB / 0.8718 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.82, allocations: 4 kB / 0.8718 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.8201, allocations: 11.98 kB / 0.8718 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.8201, allocations: 20.67 kB / 0.8718 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.8201, allocations: 8.062 kB / 0.8718 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002156/0.8204, allocations: 209.9 kB / 0.872 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.8204, allocations: 0 / 0.872 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003436/0.8207, allocations: 55.94 kB / 0.8721 GB, free: 4.84 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009837/0.8217, allocations: 0.8843 MB / 0.8729 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003756/0.8221, allocations: 132 kB / 0.873 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8221, allocations: 0 / 0.873 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.8222, allocations: 59.89 kB / 0.8731 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/0.823, allocations: 126.1 kB / 0.8732 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.8264, allocations: 2.61 MB / 0.8758 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.8268, allocations: 0.7558 MB / 0.8765 GB, free: 64 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.8269, allocations: 59.41 kB / 0.8766 GB, free: 8 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.8271, allocations: 71.48 kB / 0.8766 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of SimCode: time 8.42e-07/0.8271, allocations: 4 kB / 0.8766 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03504/0.8621, allocations: 6.839 MB / 0.8833 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.915, allocations: 5.203 kB / 0.8833 GB, free: 9.262 MB / 0.6544 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.658399281994207] Failed to read output from testmodel.py, exit status != 0: 8.987198514994816 9.013659898 8.198941771 Calling exit ...