Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.001618/0.001618, allocations: 110 kB / 18.93 MB, free: 2.945 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.001893/0.001893, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.471/1.471, 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.05097/0.05097, allocations: 9.137 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.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel")
translateModel(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") [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.002179/0.002179, allocations: 70.45 kB / 411.6 MB, free: 46.4 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.07584/0.07802, allocations: 50.74 MB / 462.3 MB, free: 12.37 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.3835/0.4615, allocations: 129.3 MB / 0.5777 GB, free: 320 kB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.1237/0.5852, allocations: 111.4 MB / 0.6865 GB, free: 7.488 MB / 0.4981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005873/0.5858, allocations: 7.938 kB / 0.6865 GB, free: 7.48 MB / 0.4981 GB
Notification: Performance of NFTyping.typeComponents: time 0.003494/0.5893, allocations: 1.556 MB / 0.688 GB, free: 5.922 MB / 0.4981 GB
Notification: Performance of NFTyping.typeBindings: time 0.004284/0.5936, allocations: 1.829 MB / 0.6898 GB, free: 4.086 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.08154/0.6751, allocations: 31.26 MB / 0.7203 GB, free: 4.73 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.002345/0.6775, allocations: 1.429 MB / 0.7217 GB, free: 3.297 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.6777, allocations: 89.91 kB / 0.7218 GB, free: 3.203 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0205/0.6982, allocations: 10.99 MB / 0.7326 GB, free: 8.188 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005695/0.6987, allocations: 394.4 kB / 0.7329 GB, free: 7.801 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.6989, allocations: 40 kB / 0.733 GB, free: 7.762 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.3343/1.033, allocations: 35.89 MB / 0.768 GB, free: 47.46 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002797/1.033, allocations: 124.7 kB / 0.7681 GB, free: 47.46 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005681/1.034, allocations: 304.7 kB / 0.7684 GB, free: 47.46 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.04042/1.074, allocations: 14.01 MB / 0.7821 GB, free: 47.04 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.074, allocations: 0 / 0.7821 GB, free: 47.04 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.553e-06/1.074, allocations: 0 / 0.7821 GB, free: 47.04 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 1.161e-05/1.074, allocations: 0 / 0.7821 GB, free: 47.04 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.007498/1.082, allocations: 2.604 MB / 0.7847 GB, free: 45.61 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.082, allocations: 13.92 kB / 0.7847 GB, free: 45.61 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006827/1.083, allocations: 90.25 kB / 0.7848 GB, free: 45.58 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/1.083, allocations: 270.8 kB / 0.785 GB, free: 45.43 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/1.083, allocations: 40.39 kB / 0.7851 GB, free: 45.42 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/1.083, allocations: 33.81 kB / 0.7851 GB, free: 45.42 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/1.084, allocations: 0.6061 MB / 0.7857 GB, free: 45.32 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/1.084, allocations: 2.156 kB / 0.7857 GB, free: 45.32 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/1.084, allocations: 15.91 kB / 0.7857 GB, free: 45.32 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/1.084, allocations: 20.17 kB / 0.7857 GB, free: 45.32 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/1.086, allocations: 0.5626 MB / 0.7863 GB, free: 45.32 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/1.088, allocations: 2.443 MB / 0.7886 GB, free: 43.73 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009311/1.089, allocations: 470.9 kB / 0.7891 GB, free: 43.7 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/1.089, allocations: 319.4 kB / 0.7894 GB, free: 43.68 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.19/1.279, allocations: 43.91 MB / 0.8323 GB, free: 16.98 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/1.279, allocations: 34.5 kB / 0.8323 GB, free: 16.95 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=77): time 3.276e-06/1.279, allocations: 0 / 0.8323 GB, free: 16.95 MB / 0.545 GB
Notification: Performance of matching and sorting (n=81): time 0.005793/1.285, allocations: 2.25 MB / 0.8345 GB, free: 15.28 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/1.285, allocations: 55.41 kB / 0.8346 GB, free: 15.21 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/1.285, allocations: 258.3 kB / 0.8348 GB, free: 14.99 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 3.331e-05/1.285, allocations: 37.58 kB / 0.8348 GB, free: 14.95 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/1.285, allocations: 192.2 kB / 0.835 GB, free: 14.79 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001322/1.286, allocations: 277.3 kB / 0.8353 GB, free: 14.55 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/1.286, allocations: 100.6 kB / 0.8354 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 7.813e-05/1.286, allocations: 352.3 kB / 0.8357 GB, free: 14.15 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/1.286, allocations: 289 kB / 0.836 GB, free: 13.97 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/1.287, allocations: 404.8 kB / 0.8364 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009862/1.288, allocations: 0.7115 MB / 0.8371 GB, free: 13.18 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.288, allocations: 4 kB / 0.8371 GB, free: 13.18 MB / 0.545 GB
Notification: Performance of matching and sorting (n=95) (initialization): time 0.00124/1.289, allocations: 0.811 MB / 0.8379 GB, free: 12.62 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.289, allocations: 9.141 kB / 0.8379 GB, free: 12.61 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.289, allocations: 14.05 kB / 0.8379 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/1.289, allocations: 56.75 kB / 0.838 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/1.29, allocations: 148 kB / 0.8381 GB, free: 12.43 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06901/1.359, allocations: 18.24 MB / 0.8559 GB, free: 10.69 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/1.359, allocations: 23.73 kB / 0.8559 GB, free: 10.67 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.352e-05/1.36, allocations: 23.67 kB / 0.856 GB, free: 10.65 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * 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): 40
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 3
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 3
 * 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): 3 systems
   {1, 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.0003361/1.36, allocations: 184.7 kB / 0.8561 GB, free: 10.5 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/1.36, allocations: 51.59 kB / 0.8562 GB, free: 10.45 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/1.362, allocations: 1.749 MB / 0.8579 GB, free: 9.211 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/1.362, allocations: 11 kB / 0.8579 GB, free: 9.203 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.362, allocations: 0 / 0.8579 GB, free: 9.203 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001697/1.364, allocations: 1.324 MB / 0.8592 GB, free: 8.113 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/1.367, allocations: 1.755 MB / 0.8609 GB, free: 6.867 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.367, allocations: 4 kB / 0.8609 GB, free: 6.863 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/1.367, allocations: 77.69 kB / 0.861 GB, free: 6.793 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003793/1.367, allocations: 168.6 kB / 0.8611 GB, free: 6.656 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/1.367, allocations: 12.44 kB / 0.8612 GB, free: 6.648 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/1.369, allocations: 2.476 MB / 0.8636 GB, free: 4.168 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.369, allocations: 0 / 0.8636 GB, free: 4.168 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/1.372, allocations: 1.423 MB / 0.865 GB, free: 3.168 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/1.372, allocations: 51.05 kB / 0.865 GB, free: 3.121 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/1.372, allocations: 6.938 kB / 0.865 GB, free: 3.121 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/1.372, allocations: 23.28 kB / 0.865 GB, free: 3.102 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/1.372, allocations: 43.67 kB / 0.8651 GB, free: 3.066 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/1.372, allocations: 22.17 kB / 0.8651 GB, free: 3.047 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.0002804/1.373, allocations: 227.3 kB / 0.8653 GB, free: 2.867 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 7e-08/1.373, allocations: 0 / 0.8653 GB, free: 2.867 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.01/1.383, allocations: 3.563 MB / 0.8688 GB, free: 15.4 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (volume.medium.p,volume.medium.h)
 * Number of discrete variables: 10 ($cse7.phase,$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 (37):
 * Single equations (assignments): 31
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 3
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * 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): 2 systems
   {(1,1), (1,1)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.01893/1.402, allocations: 4.503 MB / 0.8732 GB, free: 11.52 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.002753/1.404, allocations: 1.019 MB / 0.8742 GB, free: 10.73 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.404, allocations: 4 kB / 0.8742 GB, free: 10.72 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.001041/1.405, allocations: 498.9 kB / 0.8747 GB, free: 10.36 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/1.407, allocations: 394.8 kB / 0.8751 GB, free: 10.01 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/1.41, allocations: 1.214 MB / 0.8762 GB, free: 8.961 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/1.41, allocations: 0.8564 MB / 0.8771 GB, free: 8.078 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0004532/1.411, allocations: 138.2 kB / 0.8772 GB, free: 7.945 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/1.411, allocations: 43.97 kB / 0.8772 GB, free: 7.902 MB / 0.5762 GB
Notification: Performance of SimCode: time 8.52e-07/1.411, allocations: 0 / 0.8772 GB, free: 7.902 MB / 0.5762 GB
Notification: Performance of Templates: time 0.4075/1.818, allocations: 127.3 MB / 1.002 GB, free: 323.7 MB / 0.67 GB
"
[Timeout remaining time 658]
make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.makefile [Timeout 660]
(rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel  -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 15.734267310239375]
Failed to read output from testmodel.py, exit status != 0:
1.8268310520797968 1.8365206649999999 0.759719395
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f6e603e57b0>