Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00155/0.00155, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2521/0.2521, allocations: 46.94 MB / 361.6 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 79.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3701, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03726/0.4073, allocations: 30.62 MB / 0.5914 GB, free: 5.574 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0203/0.4276, allocations: 15.68 MB / 0.6067 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004042/0.428, allocations: 15.88 kB / 0.6067 GB, free: 5.832 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007794/0.4288, allocations: 222.5 kB / 0.6069 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007363/0.4295, allocations: 278.4 kB / 0.6072 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01665/0.4462, allocations: 5.658 MB / 0.6127 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.4478, allocations: 0.8381 MB / 0.6136 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000456/0.4483, allocations: 185 kB / 0.6137 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.461, allocations: 5.517 MB / 0.6191 GB, free: 9.062 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006687/0.4617, allocations: 247 kB / 0.6194 GB, free: 8.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.241e-05/0.4617, allocations: 28 kB / 0.6194 GB, free: 8.793 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01268/0.4744, allocations: 6.115 MB / 0.6254 GB, free: 2.672 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.4746, allocations: 87.69 kB / 0.6254 GB, free: 2.586 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.4749, allocations: 191.2 kB / 0.6256 GB, free: 2.398 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009498/0.4844, allocations: 3.679 MB / 0.6292 GB, free: 14.71 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.4844, allocations: 4 kB / 0.6292 GB, free: 14.71 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4844, allocations: 0 / 0.6292 GB, free: 14.71 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.4844, allocations: 0 / 0.6292 GB, free: 14.71 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003084/0.4875, allocations: 0.9547 MB / 0.6301 GB, free: 13.72 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.4876, allocations: 8.031 kB / 0.6302 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.071e-05/0.4876, allocations: 62.72 kB / 0.6302 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.4887, allocations: 120.6 kB / 0.6303 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.4892, allocations: 280.9 kB / 0.6306 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.4892, allocations: 20.88 kB / 0.6306 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.4892, allocations: 28.12 kB / 0.6306 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.4904, allocations: 454.1 kB / 0.6311 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.4904, allocations: 7.938 kB / 0.6311 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/0.4904, allocations: 12 kB / 0.6311 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4904, allocations: 7.984 kB / 0.6311 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.4915, allocations: 369.3 kB / 0.6315 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.4946, allocations: 2.19 MB / 0.6336 GB, free: 9.941 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.4956, allocations: 270.3 kB / 0.6339 GB, free: 9.668 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.4959, allocations: 96.78 kB / 0.6339 GB, free: 9.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.4962, allocations: 99.91 kB / 0.634 GB, free: 9.473 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.4962, allocations: 34.56 kB / 0.6341 GB, free: 9.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.4962, allocations: 0 / 0.6341 GB, free: 9.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001696/0.4979, allocations: 449.3 kB / 0.6345 GB, free: 8.984 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/0.498, allocations: 122.7 kB / 0.6346 GB, free: 8.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.4984, allocations: 320.5 kB / 0.6349 GB, free: 8.516 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.4985, allocations: 29.7 kB / 0.635 GB, free: 8.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.4986, allocations: 215.9 kB / 0.6352 GB, free: 8.266 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.4987, allocations: 35.69 kB / 0.6352 GB, free: 8.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.4988, allocations: 61.64 kB / 0.6353 GB, free: 8.164 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.499, allocations: 338.8 kB / 0.6356 GB, free: 7.824 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.4992, allocations: 83.94 kB / 0.6357 GB, free: 7.742 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.4996, allocations: 211.3 kB / 0.6359 GB, free: 7.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/0.5002, allocations: 273.9 kB / 0.6361 GB, free: 7.164 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5002, allocations: 0 / 0.6361 GB, free: 7.164 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007633/0.5009, allocations: 329.3 kB / 0.6364 GB, free: 6.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.5009, allocations: 8 kB / 0.6364 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.501, allocations: 0 / 0.6364 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.501, allocations: 15.92 kB / 0.6365 GB, free: 6.812 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.5012, allocations: 63.84 kB / 0.6365 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.5012, allocations: 7.984 kB / 0.6365 GB, free: 6.742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.5015, allocations: 47.72 kB / 0.6366 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.5015, allocations: 8 kB / 0.6366 GB, free: 6.688 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.000192/0.5017, allocations: 161.7 kB / 0.6367 GB, free: 6.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.5018, allocations: 31.81 kB / 0.6368 GB, free: 6.488 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.503, allocations: 0.7606 MB / 0.6375 GB, free: 5.719 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.503, allocations: 11.92 kB / 0.6375 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.503, allocations: 0 / 0.6375 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.503, allocations: 3.984 kB / 0.6375 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.5036, allocations: 0.5018 MB / 0.638 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5036, allocations: 0 / 0.638 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.5038, allocations: 47.95 kB / 0.6381 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.5038, allocations: 0 / 0.6381 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.5038, allocations: 4 kB / 0.6381 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.5038, allocations: 7.922 kB / 0.6381 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.5038, allocations: 0 / 0.6381 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.5046, allocations: 486.9 kB / 0.6385 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.5046, allocations: 43.64 kB / 0.6386 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.5047, allocations: 27.73 kB / 0.6386 GB, free: 4.539 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.5049, allocations: 19.92 kB / 0.6386 GB, free: 4.52 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.505, allocations: 23.95 kB / 0.6386 GB, free: 4.496 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.505, allocations: 4 kB / 0.6386 GB, free: 4.492 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003949/0.5054, allocations: 338.9 kB / 0.639 GB, free: 4.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5054, allocations: 0 / 0.639 GB, free: 4.16 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002467/0.5079, allocations: 0.85 MB / 0.6398 GB, free: 3.309 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.005271/0.5131, allocations: 1.896 MB / 0.6416 GB, free: 1.383 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008554/0.514, allocations: 268.5 kB / 0.6419 GB, free: 1.121 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.514, allocations: 0 / 0.6419 GB, free: 1.121 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.5143, allocations: 147 kB / 0.642 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.5153, allocations: 181 kB / 0.6422 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007285/0.5225, allocations: 4.029 MB / 0.6462 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.5231, allocations: 0.8461 MB / 0.647 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003987/0.5235, allocations: 138.8 kB / 0.6471 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.5237, allocations: 171.4 kB / 0.6473 GB, free: 11.43 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5237, allocations: 3.938 kB / 0.6473 GB, free: 11.42 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08513/0.6088, allocations: 39.36 MB / 0.6857 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.09, allocations: 7.938 kB / 0.6857 GB, free: 4.137 MB / 0.5137 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201597 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.260106571018696] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 11.186709056608379 11.202606636 10.714856207 Calling exit ...