Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 189.1 kB / 22.22 MB, free: 5.105 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.474/1.474, allocations: 207.6 MB / 233 MB, free: 10.01 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05277/0.05277, allocations: 9.15 MB / 294.4 MB, free: 12.73 MB / 238.1 MB
"
[Timeout remaining time 180]
Using package HelmholtzMedia with version  (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel")
translateModel(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 74.67 kB / 411.6 MB, free: 46.23 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.07963/0.08203, allocations: 50.75 MB / 462.3 MB, free: 12.22 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.3885/0.4706, allocations: 128.8 MB / 0.5773 GB, free: 472 kB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.1234/0.594, allocations: 110.4 MB / 0.6851 GB, free: 8.852 MB / 0.4981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006401/0.5947, allocations: 7.938 kB / 0.6851 GB, free: 8.844 MB / 0.4981 GB
Notification: Performance of NFTyping.typeComponents: time 0.003479/0.5981, allocations: 1.462 MB / 0.6866 GB, free: 7.379 MB / 0.4981 GB
Notification: Performance of NFTyping.typeBindings: time 0.004171/0.6023, allocations: 1.716 MB / 0.6882 GB, free: 5.656 MB / 0.4981 GB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'.
Notification: Performance of NFTyping.typeClassSections: time 0.08365/0.686, allocations: 30.71 MB / 0.7182 GB, free: 6.848 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.002219/0.6882, allocations: 1.347 MB / 0.7195 GB, free: 5.496 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.6884, allocations: 81.92 kB / 0.7196 GB, free: 5.41 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.01743/0.7058, allocations: 8.998 MB / 0.7284 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006372/0.7065, allocations: 378.5 kB / 0.7288 GB, free: 12.02 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 9.242e-05/0.7066, allocations: 40 kB / 0.7288 GB, free: 11.98 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.3378/1.044, allocations: 35.07 MB / 0.763 GB, free: 47.75 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002196/1.045, allocations: 127.1 kB / 0.7632 GB, free: 47.75 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005015/1.045, allocations: 302.6 kB / 0.7635 GB, free: 47.75 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.03606/1.081, allocations: 14.2 MB / 0.7773 GB, free: 47.34 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.081, allocations: 0 / 0.7773 GB, free: 47.34 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.423e-06/1.081, allocations: 0 / 0.7773 GB, free: 47.34 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 2.016e-05/1.081, allocations: 0 / 0.7773 GB, free: 47.34 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 126
 * Number of variables: 126
Notification: Performance of Generate backend data structure: time 0.00647/1.088, allocations: 2.605 MB / 0.7799 GB, free: 45.92 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.088, allocations: 14.64 kB / 0.7799 GB, free: 45.92 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000754/1.088, allocations: 95.5 kB / 0.78 GB, free: 45.89 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/1.089, allocations: 280.5 kB / 0.7802 GB, free: 45.73 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/1.089, allocations: 28.92 kB / 0.7803 GB, free: 45.73 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/1.089, allocations: 33.75 kB / 0.7803 GB, free: 45.73 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/1.09, allocations: 0.6116 MB / 0.7809 GB, free: 45.64 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/1.09, allocations: 0.75 kB / 0.7809 GB, free: 45.64 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/1.09, allocations: 15.83 kB / 0.7809 GB, free: 45.64 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/1.09, allocations: 19.84 kB / 0.7809 GB, free: 45.64 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/1.091, allocations: 0.5675 MB / 0.7815 GB, free: 45.64 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/1.093, allocations: 2.478 MB / 0.7839 GB, free: 43.99 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009781/1.094, allocations: 488.3 kB / 0.7844 GB, free: 43.96 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/1.095, allocations: 317.2 kB / 0.7847 GB, free: 43.95 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.1835/1.278, allocations: 43.91 MB / 0.8276 GB, free: 19.96 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.862e-05/1.278, allocations: 38.47 kB / 0.8276 GB, free: 19.92 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=78): time 3.316e-06/1.278, allocations: 0 / 0.8276 GB, free: 19.92 MB / 0.545 GB
Notification: Performance of matching and sorting (n=82): time 0.005837/1.284, allocations: 2.241 MB / 0.8298 GB, free: 18.26 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/1.284, allocations: 55.41 kB / 0.8298 GB, free: 18.2 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/1.284, allocations: 260.2 kB / 0.8301 GB, free: 17.97 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 3.664e-05/1.284, allocations: 33.27 kB / 0.8301 GB, free: 17.94 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/1.285, allocations: 191.1 kB / 0.8303 GB, free: 17.78 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001445/1.285, allocations: 274 kB / 0.8306 GB, free: 17.54 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/1.285, allocations: 105 kB / 0.8307 GB, free: 17.47 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 7.492e-05/1.285, allocations: 355.8 kB / 0.831 GB, free: 17.13 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/1.285, allocations: 283.9 kB / 0.8313 GB, free: 16.96 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/1.286, allocations: 414.5 kB / 0.8317 GB, free: 16.63 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009177/1.287, allocations: 0.723 MB / 0.8324 GB, free: 16.12 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.287, allocations: 0 / 0.8324 GB, free: 16.12 MB / 0.545 GB
Notification: Performance of matching and sorting (n=95) (initialization): time 0.001292/1.288, allocations: 0.8224 MB / 0.8332 GB, free: 15.56 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.288, allocations: 8 kB / 0.8332 GB, free: 15.55 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.288, allocations: 4 kB / 0.8332 GB, free: 15.55 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000272/1.288, allocations: 66.42 kB / 0.8332 GB, free: 15.5 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/1.289, allocations: 126.2 kB / 0.8334 GB, free: 15.38 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06868/1.358, allocations: 19.68 MB / 0.8526 GB, free: 12.21 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/1.358, allocations: 29.42 kB / 0.8526 GB, free: 12.18 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/1.358, allocations: 23.23 kB / 0.8526 GB, free: 12.16 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 16
 * Number of states: 0 ()
 * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (48):
 * Single equations (assignments): 41
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 3
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 2 systems
   {1, 1}
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0003516/1.359, allocations: 189.8 kB / 0.8528 GB, free: 12.02 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/1.359, allocations: 43.72 kB / 0.8529 GB, free: 11.97 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/1.361, allocations: 1.612 MB / 0.8544 GB, free: 10.82 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/1.361, allocations: 6.656 kB / 0.8544 GB, free: 10.82 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.361, allocations: 4.984 kB / 0.8544 GB, free: 10.82 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00157/1.362, allocations: 1.214 MB / 0.8556 GB, free: 9.801 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/1.365, allocations: 1.642 MB / 0.8572 GB, free: 8.617 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.365, allocations: 0 / 0.8572 GB, free: 8.617 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/1.365, allocations: 83.88 kB / 0.8573 GB, free: 8.539 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/1.366, allocations: 107.9 kB / 0.8574 GB, free: 8.453 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/1.366, allocations: 12.98 kB / 0.8574 GB, free: 8.445 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/1.367, allocations: 1.896 MB / 0.8593 GB, free: 6.523 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.367, allocations: 0 / 0.8593 GB, free: 6.523 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/1.369, allocations: 1.289 MB / 0.8605 GB, free: 5.617 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/1.369, allocations: 47.61 kB / 0.8606 GB, free: 5.57 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.973e-05/1.369, allocations: 7.875 kB / 0.8606 GB, free: 5.566 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/1.37, allocations: 31.84 kB / 0.8606 GB, free: 5.543 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.37, allocations: 47.61 kB / 0.8607 GB, free: 5.504 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/1.37, allocations: 8.875 kB / 0.8607 GB, free: 5.496 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.0002895/1.37, allocations: 246.9 kB / 0.8609 GB, free: 5.305 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 8e-08/1.37, allocations: 0 / 0.8609 GB, free: 5.305 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.01063/1.381, allocations: 3.577 MB / 0.8644 GB, free: 1.832 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 2 (volume.medium.p,volume.medium.h)
 * Number of discrete variables: 9 ($cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (38):
 * Single equations (assignments): 33
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 3
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,1)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.02045/1.401, allocations: 4.644 MB / 0.8689 GB, free: 13.81 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.002483/1.404, allocations: 0.9773 MB / 0.8699 GB, free: 13.04 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.404, allocations: 0 / 0.8699 GB, free: 13.04 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009771/1.405, allocations: 487.1 kB / 0.8704 GB, free: 12.69 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/1.407, allocations: 409 kB / 0.8707 GB, free: 12.33 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/1.409, allocations: 1.188 MB / 0.8719 GB, free: 11.3 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/1.409, allocations: 0.8525 MB / 0.8727 GB, free: 10.42 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0004866/1.41, allocations: 142.3 kB / 0.8729 GB, free: 10.28 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/1.41, allocations: 39.42 kB / 0.8729 GB, free: 10.24 MB / 0.5762 GB
Notification: Performance of SimCode: time 1.163e-06/1.41, allocations: 4 kB / 0.8729 GB, free: 10.24 MB / 0.5762 GB
Notification: Performance of Templates: time 0.4263/1.836, allocations: 126.6 MB / 0.9966 GB, free: 325.2 MB / 0.67 GB
"
[Timeout remaining time 658]
make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.makefile [Timeout 660]
(rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel  -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 19.932657000608742]
Failed to read output from testmodel.py, exit status != 0:
1.8447594558820128 1.854906142 0.771121507
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fce6fd257b0>