Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001331/0.001331, allocations: 109 kB / 20.48 MB, free: 1.477 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.001552/0.001552, allocations: 209.7 kB / 23.79 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 207.6 MB / 234.6 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2369/0.2369, allocations: 44.24 MB / 331.1 MB, free: 9.512 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002237/0.002237, allocations: 67.91 kB / 468.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1299, allocations: 61.04 MB / 0.5169 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.3239/0.4538, allocations: 30.46 MB / 0.5467 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01783/0.4716, allocations: 15.65 MB / 0.5619 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004472/0.4721, allocations: 13.06 kB / 0.562 GB, free: 4.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008073/0.4729, allocations: 213.1 kB / 0.5622 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007478/0.4736, allocations: 279.8 kB / 0.5624 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02015/0.4938, allocations: 5.636 MB / 0.5679 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.4952, allocations: 0.8268 MB / 0.5687 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.4956, allocations: 197.6 kB / 0.5689 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01233/0.5079, allocations: 5.496 MB / 0.5743 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007881/0.5087, allocations: 249.7 kB / 0.5745 GB, free: 15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.5088, allocations: 28.56 kB / 0.5746 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01498/0.5238, allocations: 6.102 MB / 0.5805 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.524, allocations: 87.77 kB / 0.5806 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003722/0.5244, allocations: 186.1 kB / 0.5808 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.5352, allocations: 3.658 MB / 0.5844 GB, free: 9.297 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.5352, allocations: 1.406 kB / 0.5844 GB, free: 9.297 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5352, allocations: 0 / 0.5844 GB, free: 9.297 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.5353, allocations: 0 / 0.5844 GB, free: 9.297 MB / 430.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.004924/0.5402, allocations: 0.9396 MB / 0.5853 GB, free: 8.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.5402, allocations: 9.312 kB / 0.5853 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.642e-05/0.5403, allocations: 7.812 kB / 0.5853 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.502e-05/0.5404, allocations: 63.12 kB / 0.5853 GB, free: 8.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.5414, allocations: 112.8 kB / 0.5855 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006561/0.5421, allocations: 285.4 kB / 0.5857 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.5421, allocations: 21.33 kB / 0.5857 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.5421, allocations: 31.88 kB / 0.5858 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.5434, allocations: 455.8 kB / 0.5862 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5434, allocations: 0 / 0.5862 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.5434, allocations: 12.5 kB / 0.5862 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.5434, allocations: 6.656 kB / 0.5862 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.5446, allocations: 370.5 kB / 0.5866 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.5481, allocations: 2.196 MB / 0.5887 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.5492, allocations: 266.5 kB / 0.589 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.5495, allocations: 101.2 kB / 0.5891 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002908/0.5498, allocations: 100.5 kB / 0.5892 GB, free: 5.453 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.5498, allocations: 35.84 kB / 0.5892 GB, free: 5.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.5498, allocations: 0 / 0.5892 GB, free: 5.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001832/0.5516, allocations: 451.1 kB / 0.5896 GB, free: 5.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.505e-05/0.5517, allocations: 113.5 kB / 0.5898 GB, free: 5.051 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.5521, allocations: 321.8 kB / 0.5901 GB, free: 4.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.5522, allocations: 30.83 kB / 0.5901 GB, free: 4.805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.5524, allocations: 202 kB / 0.5903 GB, free: 4.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.5524, allocations: 50.23 kB / 0.5903 GB, free: 4.578 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-05/0.5525, allocations: 54.47 kB / 0.5904 GB, free: 4.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.5527, allocations: 339.2 kB / 0.5907 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.553, allocations: 91.11 kB / 0.5908 GB, free: 4.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.5534, allocations: 202.9 kB / 0.591 GB, free: 3.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006377/0.554, allocations: 275.4 kB / 0.5912 GB, free: 3.742 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.554, allocations: 3.938 kB / 0.5912 GB, free: 3.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007881/0.5548, allocations: 324.1 kB / 0.5916 GB, free: 3.562 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.5549, allocations: 10 kB / 0.5916 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.5549, allocations: 5.438 kB / 0.5916 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.5549, allocations: 4.531 kB / 0.5916 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.5551, allocations: 66.86 kB / 0.5916 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.5552, allocations: 2.938 kB / 0.5916 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.5554, allocations: 45.94 kB / 0.5917 GB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.5555, allocations: 15.5 kB / 0.5917 GB, free: 3.508 MB / 430.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.0001906/0.5557, allocations: 158.2 kB / 0.5919 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.5557, allocations: 35.09 kB / 0.5919 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.557, allocations: 0.7606 MB / 0.5926 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.557, allocations: 10.59 kB / 0.5926 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.557, allocations: 0.75 kB / 0.5926 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.557, allocations: 6.406 kB / 0.5926 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006832/0.5577, allocations: 0.5069 MB / 0.5931 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5577, allocations: 0 / 0.5931 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.5579, allocations: 40.83 kB / 0.5932 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.558, allocations: 1.375 kB / 0.5932 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.558, allocations: 16.98 kB / 0.5932 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.558, allocations: 9.25 kB / 0.5932 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.558, allocations: 0 / 0.5932 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008041/0.5588, allocations: 470.2 kB / 0.5937 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/0.5589, allocations: 41.97 kB / 0.5937 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.5589, allocations: 26.41 kB / 0.5937 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.5592, allocations: 16.86 kB / 0.5937 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.5592, allocations: 22.58 kB / 0.5938 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.5592, allocations: 3.5 kB / 0.5938 GB, free: 2.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000407/0.5597, allocations: 347.3 kB / 0.5941 GB, free: 1.859 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5597, allocations: 0 / 0.5941 GB, free: 1.859 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003661/0.5633, allocations: 0.8484 MB / 0.5949 GB, free: 1.707 MB / 430.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.006433/0.5697, allocations: 1.899 MB / 0.5968 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008474/0.5706, allocations: 268.8 kB / 0.597 GB, free: 452 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5706, allocations: 4 kB / 0.597 GB, free: 448 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.5709, allocations: 143 kB / 0.5972 GB, free: 380 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.572, allocations: 177.5 kB / 0.5973 GB, free: 288 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008428/0.5804, allocations: 4.039 MB / 0.6013 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/0.581, allocations: 0.8385 MB / 0.6021 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004462/0.5815, allocations: 145.3 kB / 0.6022 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.5817, allocations: 163.4 kB / 0.6024 GB, free: 11.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5817, allocations: 0 / 0.6024 GB, free: 11.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08599/0.6677, allocations: 39.43 MB / 0.6409 GB, free: 4.035 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.31, allocations: 3.281 kB / 0.6409 GB, free: 4.035 MB / 478.1 MB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.517602199979592] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 14.510976958961692 14.541577369 14.000919575 Calling exit ...