Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.001746/0.001746, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001901/0.001901, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2435/0.2435, allocations: 46.94 MB / 361.6 MB, free: 4.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003568/0.003568, allocations: 63.89 kB / 0.4969 GB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.344, allocations: 66.03 MB / 0.5614 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03641/0.3804, allocations: 30.62 MB / 0.5913 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01988/0.4003, allocations: 15.68 MB / 0.6066 GB, free: 6.035 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.4006, allocations: 15.88 kB / 0.6066 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006838/0.4013, allocations: 222.6 kB / 0.6069 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.4019, allocations: 274.4 kB / 0.6071 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01627/0.4182, allocations: 5.657 MB / 0.6126 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.4195, allocations: 0.8343 MB / 0.6135 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/0.4198, allocations: 197 kB / 0.6136 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01158/0.4314, allocations: 5.509 MB / 0.619 GB, free: 9.254 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.4319, allocations: 246.9 kB / 0.6193 GB, free: 9.012 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.98e-05/0.432, allocations: 32 kB / 0.6193 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01238/0.4443, allocations: 6.107 MB / 0.6253 GB, free: 2.867 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.4445, allocations: 87.62 kB / 0.6253 GB, free: 2.781 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.4448, allocations: 191.2 kB / 0.6255 GB, free: 2.594 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009217/0.4541, allocations: 3.683 MB / 0.6291 GB, free: 14.9 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.4541, allocations: 0 / 0.6291 GB, free: 14.9 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4541, allocations: 0 / 0.6291 GB, free: 14.9 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.4541, allocations: 4 kB / 0.6291 GB, free: 14.9 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.002576/0.4567, allocations: 0.9547 MB / 0.6301 GB, free: 13.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4567, allocations: 8.031 kB / 0.6301 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.542e-05/0.4567, allocations: 8.688 kB / 0.6301 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.204e-05/0.4568, allocations: 62.72 kB / 0.6301 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.4578, allocations: 124.6 kB / 0.6302 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.4583, allocations: 281 kB / 0.6305 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.4584, allocations: 28.8 kB / 0.6305 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.4584, allocations: 27.94 kB / 0.6306 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.4596, allocations: 450.1 kB / 0.631 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4596, allocations: 0 / 0.631 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.4596, allocations: 12 kB / 0.631 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.4597, allocations: 8 kB / 0.631 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.4608, allocations: 373.2 kB / 0.6314 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003447/0.4642, allocations: 2.187 MB / 0.6335 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.4653, allocations: 270.3 kB / 0.6338 GB, free: 9.852 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.4656, allocations: 92.73 kB / 0.6339 GB, free: 9.758 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/0.4659, allocations: 95.91 kB / 0.6339 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.4659, allocations: 38.56 kB / 0.634 GB, free: 9.617 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.4659, allocations: 0 / 0.634 GB, free: 9.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001792/0.4677, allocations: 457.2 kB / 0.6344 GB, free: 9.164 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.4678, allocations: 106.8 kB / 0.6345 GB, free: 9.035 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/0.4681, allocations: 324.4 kB / 0.6348 GB, free: 8.707 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.4682, allocations: 29.7 kB / 0.6349 GB, free: 8.672 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.4683, allocations: 207.9 kB / 0.6351 GB, free: 8.461 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.4684, allocations: 43.69 kB / 0.6351 GB, free: 8.418 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/0.4685, allocations: 61.64 kB / 0.6352 GB, free: 8.352 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4686, allocations: 338.8 kB / 0.6355 GB, free: 8.012 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.4689, allocations: 95.86 kB / 0.6356 GB, free: 7.918 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.4693, allocations: 199.4 kB / 0.6358 GB, free: 7.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.4699, allocations: 277.4 kB / 0.636 GB, free: 7.348 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4699, allocations: 4 kB / 0.636 GB, free: 7.344 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000807/0.4707, allocations: 321 kB / 0.6363 GB, free: 7.023 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4707, allocations: 8 kB / 0.6363 GB, free: 7.016 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.4708, allocations: 4 kB / 0.6363 GB, free: 7.012 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.4708, allocations: 7.938 kB / 0.6364 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.4711, allocations: 68.36 kB / 0.6364 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.4711, allocations: 8 kB / 0.6364 GB, free: 6.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.4713, allocations: 43.66 kB / 0.6365 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.4714, allocations: 16 kB / 0.6365 GB, free: 6.871 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.0001797/0.4716, allocations: 161.6 kB / 0.6366 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.568e-05/0.4716, allocations: 27.81 kB / 0.6367 GB, free: 6.676 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.4729, allocations: 0.7646 MB / 0.6374 GB, free: 5.902 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.4729, allocations: 11.92 kB / 0.6374 GB, free: 5.891 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4729, allocations: 0 / 0.6374 GB, free: 5.891 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4729, allocations: 0 / 0.6374 GB, free: 5.891 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005969/0.4735, allocations: 0.5057 MB / 0.6379 GB, free: 5.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4735, allocations: 4 kB / 0.6379 GB, free: 5.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.4737, allocations: 47.94 kB / 0.638 GB, free: 5.293 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4737, allocations: 3.938 kB / 0.638 GB, free: 5.289 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.4737, allocations: 7.984 kB / 0.638 GB, free: 5.281 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4737, allocations: 3.938 kB / 0.638 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4737, allocations: 0 / 0.638 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008067/0.4745, allocations: 478.6 kB / 0.6384 GB, free: 4.793 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.4746, allocations: 43.64 kB / 0.6385 GB, free: 4.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.4747, allocations: 23.73 kB / 0.6385 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.4749, allocations: 27.91 kB / 0.6385 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.475, allocations: 15.97 kB / 0.6385 GB, free: 4.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.475, allocations: 12 kB / 0.6386 GB, free: 4.672 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004061/0.4754, allocations: 346.8 kB / 0.6389 GB, free: 4.332 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4754, allocations: 0 / 0.6389 GB, free: 4.332 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00257/0.478, allocations: 0.8461 MB / 0.6397 GB, free: 3.484 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.004752/0.4827, allocations: 1.895 MB / 0.6416 GB, free: 1.562 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00078/0.4835, allocations: 264.4 kB / 0.6418 GB, free: 1.305 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4835, allocations: 0 / 0.6418 GB, free: 1.305 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.4839, allocations: 139.9 kB / 0.6419 GB, free: 1.168 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.4849, allocations: 190.4 kB / 0.6421 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00689/0.4918, allocations: 4.033 MB / 0.6461 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.4922, allocations: 0.8422 MB / 0.6469 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003495/0.4926, allocations: 153 kB / 0.647 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.4928, allocations: 159.4 kB / 0.6472 GB, free: 11.61 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4928, allocations: 0 / 0.6472 GB, free: 11.61 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08236/0.5752, allocations: 39.49 MB / 0.6858 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.23, allocations: 11.92 kB / 0.6858 GB, free: 4.285 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.286453143984545] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 14.431526358006522 14.457620387 13.998017524 Calling exit ...