Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.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.001396/0.001396, allocations: 113.9 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.001425/0.001425, allocations: 191.7 kB / 22.23 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.467/1.467, allocations: 207.6 MB / 233 MB, free: 10.02 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.0515/0.0515, allocations: 9.134 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.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel")
translateModel(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") [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.002139/0.002139, allocations: 79.55 kB / 411.6 MB, free: 46.22 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.0794/0.08154, allocations: 50.74 MB / 462.3 MB, free: 12.21 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.3815/0.4631, allocations: 129.4 MB / 0.5778 GB, free: 124 kB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.1241/0.5872, allocations: 111.5 MB / 0.6867 GB, free: 7.137 MB / 0.4981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005612/0.5878, allocations: 11.94 kB / 0.6867 GB, free: 7.125 MB / 0.4981 GB
Notification: Performance of NFTyping.typeComponents: time 0.003689/0.5915, allocations: 1.599 MB / 0.6883 GB, free: 5.523 MB / 0.4981 GB
Notification: Performance of NFTyping.typeBindings: time 0.004474/0.5959, allocations: 1.861 MB / 0.6901 GB, free: 3.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.08296/0.6789, allocations: 31.56 MB / 0.7209 GB, free: 4 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.00245/0.6813, allocations: 1.445 MB / 0.7223 GB, free: 2.551 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.6816, allocations: 85.89 kB / 0.7224 GB, free: 2.461 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.6829, allocations: 0.6073 MB / 0.723 GB, free: 1.852 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006577/0.6835, allocations: 406.4 kB / 0.7234 GB, free: 1.453 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 6.379e-05/0.6836, allocations: 40 kB / 0.7234 GB, free: 1.414 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.3408/1.024, allocations: 36.37 MB / 0.7589 GB, free: 43.97 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002489/1.025, allocations: 125.7 kB / 0.7591 GB, free: 43.97 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005605/1.025, allocations: 305.4 kB / 0.7594 GB, free: 43.97 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.04007/1.065, allocations: 14.01 MB / 0.773 GB, free: 43.54 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.065, allocations: 3.562 kB / 0.773 GB, free: 43.54 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.753e-06/1.065, allocations: 0 / 0.773 GB, free: 43.54 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 1.17e-05/1.065, allocations: 0.7656 kB / 0.773 GB, free: 43.54 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.006675/1.072, allocations: 2.607 MB / 0.7756 GB, free: 42.12 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.072, allocations: 13.83 kB / 0.7756 GB, free: 42.11 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006531/1.073, allocations: 90.48 kB / 0.7757 GB, free: 42.09 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/1.073, allocations: 281.5 kB / 0.776 GB, free: 41.93 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/1.073, allocations: 28.69 kB / 0.776 GB, free: 41.93 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/1.073, allocations: 34.62 kB / 0.776 GB, free: 41.93 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/1.074, allocations: 0.6089 MB / 0.7766 GB, free: 41.83 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/1.074, allocations: 0 / 0.7766 GB, free: 41.83 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/1.074, allocations: 14.5 kB / 0.7766 GB, free: 41.83 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/1.074, allocations: 20.52 kB / 0.7766 GB, free: 41.83 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/1.076, allocations: 0.5605 MB / 0.7772 GB, free: 41.82 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/1.078, allocations: 2.524 MB / 0.7797 GB, free: 40.11 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001042/1.079, allocations: 490.7 kB / 0.7801 GB, free: 40.07 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/1.079, allocations: 321 kB / 0.7804 GB, free: 40.06 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.1887/1.268, allocations: 43.9 MB / 0.8233 GB, free: 20.68 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.268, allocations: 39.83 kB / 0.8233 GB, free: 20.63 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=79): time 2.976e-06/1.268, allocations: 4 kB / 0.8233 GB, free: 20.63 MB / 0.545 GB
Notification: Performance of matching and sorting (n=83): time 0.005223/1.273, allocations: 2.236 MB / 0.8255 GB, free: 18.96 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/1.273, allocations: 61.47 kB / 0.8256 GB, free: 18.89 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/1.273, allocations: 255.6 kB / 0.8258 GB, free: 18.68 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.709e-05/1.273, allocations: 33.45 kB / 0.8259 GB, free: 18.64 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/1.273, allocations: 182.9 kB / 0.826 GB, free: 18.49 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001096/1.273, allocations: 280.3 kB / 0.8263 GB, free: 18.25 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/1.274, allocations: 100.8 kB / 0.8264 GB, free: 18.18 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 8.224e-05/1.274, allocations: 354.1 kB / 0.8267 GB, free: 17.84 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004391/1.274, allocations: 280.1 kB / 0.827 GB, free: 17.67 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004832/1.275, allocations: 414.1 kB / 0.8274 GB, free: 17.35 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009034/1.275, allocations: 0.7196 MB / 0.8281 GB, free: 16.84 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.275, allocations: 5.969 kB / 0.8281 GB, free: 16.84 MB / 0.545 GB
Notification: Performance of matching and sorting (n=95) (initialization): time 0.001223/1.277, allocations: 0.808 MB / 0.8289 GB, free: 16.29 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.277, allocations: 8 kB / 0.8289 GB, free: 16.28 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/1.277, allocations: 4 kB / 0.8289 GB, free: 16.28 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002268/1.277, allocations: 61.58 kB / 0.829 GB, free: 16.23 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/1.277, allocations: 106.2 kB / 0.8291 GB, free: 16.13 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06644/1.344, allocations: 16.42 MB / 0.8451 GB, free: 256 kB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/1.344, allocations: 34.59 kB / 0.8451 GB, free: 232 kB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/1.344, allocations: 19.88 kB / 0.8451 GB, free: 216 kB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 15
 * 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): 43
 * 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 prepare postOptimizeDAE: time 0.0002707/1.345, allocations: 184.9 kB / 0.8453 GB, free: 64 kB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/1.345, allocations: 43.72 kB / 0.8454 GB, free: 20 kB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/1.347, allocations: 1.582 MB / 0.8469 GB, free: 14.89 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/1.347, allocations: 21.55 kB / 0.8469 GB, free: 14.87 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/1.347, allocations: 0 / 0.8469 GB, free: 14.87 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001591/1.348, allocations: 1.173 MB / 0.8481 GB, free: 13.88 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/1.351, allocations: 1.608 MB / 0.8496 GB, free: 12.71 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.351, allocations: 1.094 kB / 0.8496 GB, free: 12.71 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/1.351, allocations: 86.81 kB / 0.8497 GB, free: 12.64 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/1.352, allocations: 44.38 kB / 0.8498 GB, free: 12.6 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/1.352, allocations: 7.281 kB / 0.8498 GB, free: 12.59 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/1.353, allocations: 1.321 MB / 0.8511 GB, free: 11.25 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.353, allocations: 0 / 0.8511 GB, free: 11.25 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/1.355, allocations: 1.217 MB / 0.8523 GB, free: 10.39 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/1.355, allocations: 35.75 kB / 0.8523 GB, free: 10.36 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.145e-05/1.355, allocations: 15.75 kB / 0.8523 GB, free: 10.34 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/1.355, allocations: 27.53 kB / 0.8523 GB, free: 10.32 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.355, allocations: 52.28 kB / 0.8524 GB, free: 10.29 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/1.355, allocations: 19.92 kB / 0.8524 GB, free: 10.27 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.0002757/1.356, allocations: 237.5 kB / 0.8526 GB, free: 10.08 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 1e-07/1.356, allocations: 0 / 0.8526 GB, free: 10.08 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.01002/1.366, allocations: 3.572 MB / 0.8561 GB, free: 6.609 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 (40):
 * Single equations (assignments): 35
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 4
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * 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): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.01912/1.385, allocations: 4.512 MB / 0.8605 GB, free: 2.727 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.002057/1.387, allocations: 0.9188 MB / 0.8614 GB, free: 2.012 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.387, allocations: 0 / 0.8614 GB, free: 2.012 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0008891/1.388, allocations: 472.7 kB / 0.8619 GB, free: 1.664 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/1.39, allocations: 394.5 kB / 0.8622 GB, free: 1.316 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/1.392, allocations: 1.183 MB / 0.8634 GB, free: 288 kB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/1.392, allocations: 0.8541 MB / 0.8642 GB, free: 15.4 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0004571/1.393, allocations: 156.4 kB / 0.8644 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/1.393, allocations: 42.88 kB / 0.8644 GB, free: 15.22 MB / 0.5762 GB
Notification: Performance of SimCode: time 8.42e-07/1.393, allocations: 1.859 kB / 0.8644 GB, free: 15.22 MB / 0.5762 GB
Notification: Performance of Templates: time 0.3955/1.788, allocations: 126.4 MB / 0.9879 GB, free: 327.2 MB / 0.67 GB
"
[Timeout remaining time 658]
make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.makefile [Timeout 660]
(rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel  -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 12.507416629232466]
Failed to read output from testmodel.py, exit status != 0:
1.7967315707355738 1.807308806 0.739463511
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f7a055517b0>