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.001713/0.001713, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002038/0.002038, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.538/1.538, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2374/0.2374, allocations: 46.93 MB / 361.6 MB, free: 4.191 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.002427/0.002427, allocations: 75.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.392, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03726/0.4292, allocations: 30.61 MB / 0.5914 GB, free: 5.582 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02251/0.4518, allocations: 15.69 MB / 0.6067 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.4522, allocations: 15.81 kB / 0.6067 GB, free: 5.828 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007633/0.453, allocations: 218.6 kB / 0.6069 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007121/0.4537, allocations: 274.4 kB / 0.6072 GB, free: 5.344 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01687/0.4706, allocations: 5.663 MB / 0.6127 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.4721, allocations: 0.8381 MB / 0.6136 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/0.4726, allocations: 185.1 kB / 0.6137 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01273/0.4853, allocations: 5.516 MB / 0.6191 GB, free: 9.066 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006408/0.4859, allocations: 251 kB / 0.6194 GB, free: 8.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.078e-05/0.486, allocations: 28 kB / 0.6194 GB, free: 8.793 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01287/0.4989, allocations: 6.107 MB / 0.6253 GB, free: 2.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.4991, allocations: 91.67 kB / 0.6254 GB, free: 2.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003466/0.4995, allocations: 187.2 kB / 0.6256 GB, free: 2.406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009724/0.5092, allocations: 3.679 MB / 0.6292 GB, free: 14.72 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.5092, allocations: 0 / 0.6292 GB, free: 14.72 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5092, allocations: 0 / 0.6292 GB, free: 14.72 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.5092, allocations: 0 / 0.6292 GB, free: 14.72 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.002837/0.512, allocations: 0.9547 MB / 0.6301 GB, free: 13.73 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.5121, allocations: 12.03 kB / 0.6301 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.803e-05/0.5122, allocations: 66.66 kB / 0.6302 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.5132, allocations: 116.6 kB / 0.6303 GB, free: 13.53 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005808/0.5138, allocations: 284.9 kB / 0.6306 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.5138, allocations: 20.88 kB / 0.6306 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.5138, allocations: 28.12 kB / 0.6306 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.5151, allocations: 458.1 kB / 0.6311 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.5151, allocations: 4 kB / 0.6311 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.5151, allocations: 12 kB / 0.6311 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.5151, allocations: 8 kB / 0.6311 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.5163, allocations: 369.2 kB / 0.6315 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00313/0.5194, allocations: 2.187 MB / 0.6336 GB, free: 9.949 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.5205, allocations: 274.2 kB / 0.6339 GB, free: 9.672 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.5207, allocations: 92.8 kB / 0.6339 GB, free: 9.578 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.521, allocations: 103.9 kB / 0.634 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.521, allocations: 30.56 kB / 0.6341 GB, free: 9.438 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.993e-06/0.521, allocations: 0 / 0.6341 GB, free: 9.438 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001661/0.5227, allocations: 449 kB / 0.6345 GB, free: 8.992 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.451e-05/0.5228, allocations: 114.7 kB / 0.6346 GB, free: 8.855 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/0.5231, allocations: 328.4 kB / 0.6349 GB, free: 8.523 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.5232, allocations: 29.92 kB / 0.6349 GB, free: 8.488 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.5233, allocations: 215.9 kB / 0.6352 GB, free: 8.273 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.5234, allocations: 35.69 kB / 0.6352 GB, free: 8.238 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.486e-05/0.5235, allocations: 65.64 kB / 0.6353 GB, free: 8.168 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.5236, allocations: 334.8 kB / 0.6356 GB, free: 7.832 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.5239, allocations: 87.94 kB / 0.6357 GB, free: 7.746 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.5243, allocations: 205.6 kB / 0.6358 GB, free: 7.492 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005984/0.5249, allocations: 277.9 kB / 0.6361 GB, free: 7.172 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.5249, allocations: 0 / 0.6361 GB, free: 7.172 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007932/0.5257, allocations: 321.4 kB / 0.6364 GB, free: 6.852 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.5257, allocations: 12.02 kB / 0.6364 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.5257, allocations: 8 kB / 0.6364 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.5257, allocations: 4 kB / 0.6364 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.526, allocations: 71.83 kB / 0.6365 GB, free: 6.758 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.129e-05/0.5261, allocations: 7.938 kB / 0.6365 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.5263, allocations: 47.72 kB / 0.6366 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.5264, allocations: 12 kB / 0.6366 GB, free: 6.691 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.0002307/0.5266, allocations: 161.6 kB / 0.6367 GB, free: 6.523 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.425e-05/0.5267, allocations: 31.81 kB / 0.6368 GB, free: 6.492 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.528, allocations: 0.7646 MB / 0.6375 GB, free: 5.719 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.528, allocations: 7.938 kB / 0.6375 GB, free: 5.711 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.528, allocations: 0 / 0.6375 GB, free: 5.711 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.528, allocations: 3.984 kB / 0.6375 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007279/0.5287, allocations: 0.5057 MB / 0.638 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5287, allocations: 0 / 0.638 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.5289, allocations: 47.89 kB / 0.6381 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.5289, allocations: 0 / 0.6381 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.529, allocations: 7.984 kB / 0.6381 GB, free: 5.105 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.529, allocations: 7.938 kB / 0.6381 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.529, allocations: 0 / 0.6381 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/0.5298, allocations: 471 kB / 0.6385 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.448e-05/0.5299, allocations: 47.64 kB / 0.6386 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.567e-05/0.53, allocations: 27.67 kB / 0.6386 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.5302, allocations: 19.92 kB / 0.6386 GB, free: 4.527 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.5302, allocations: 27.89 kB / 0.6386 GB, free: 4.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.5303, allocations: 4 kB / 0.6386 GB, free: 4.496 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004105/0.5307, allocations: 338.9 kB / 0.639 GB, free: 4.164 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5307, allocations: 0 / 0.639 GB, free: 4.164 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003091/0.5338, allocations: 0.8539 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.005766/0.5395, allocations: 1.891 MB / 0.6416 GB, free: 1.391 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008651/0.5404, allocations: 267.6 kB / 0.6419 GB, free: 1.129 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5404, allocations: 0.9375 kB / 0.6419 GB, free: 1.129 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.5407, allocations: 143.9 kB / 0.642 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009768/0.5417, allocations: 182.1 kB / 0.6422 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006993/0.5487, 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.0005219/0.5492, allocations: 0.8538 MB / 0.647 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003982/0.5496, allocations: 134.8 kB / 0.6471 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.5498, allocations: 163.4 kB / 0.6473 GB, free: 11.43 MB / 494.1 MB Notification: Performance of SimCode: time 1.763e-06/0.5498, allocations: 4 kB / 0.6473 GB, free: 11.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07779/0.6276, allocations: 39.36 MB / 0.6857 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.94, allocations: 11.44 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 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: 13.926466627977788] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 11.040370281320065 11.068825735 10.554087567 Calling exit ...