Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.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.00156/0.00156, allocations: 114.2 kB / 18.94 MB, free: 2.953 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.001685/0.001685, allocations: 189.5 kB / 22.23 MB, free: 5.137 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.422/1.422, allocations: 207.6 MB / 233 MB, free: 10.06 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.05156/0.05156, allocations: 9.149 MB / 294.4 MB, free: 12.77 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.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2")
translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2") [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.002169/0.002169, allocations: 71.22 kB / 411.6 MB, free: 46.25 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.07779/0.07996, allocations: 50.76 MB / 462.3 MB, free: 12.25 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.4297/0.5097, allocations: 198.8 MB / 0.6456 GB, free: 1.445 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.4426/0.9523, allocations: 144.1 MB / 0.7863 GB, free: 232 kB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006526/0.953, allocations: 12.06 kB / 0.7863 GB, free: 232 kB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.003644/0.9566, allocations: 2.093 MB / 0.7884 GB, free: 216 kB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.005009/0.9616, allocations: 2.807 MB / 0.7911 GB, free: 180 kB / 0.545 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.09567/1.057, allocations: 41.81 MB / 0.8319 GB, free: 10.15 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 0.0027/1.06, allocations: 1.994 MB / 0.8339 GB, free: 9.559 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/1.06, allocations: 136.6 kB / 0.834 GB, free: 9.52 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001509/1.062, allocations: 0.8294 MB / 0.8348 GB, free: 9.27 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007588/1.063, allocations: 0.5473 MB / 0.8354 GB, free: 9.074 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 7.708e-05/1.063, allocations: 65.91 kB / 0.8354 GB, free: 9.07 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.08843/1.151, allocations: 48.49 MB / 0.8828 GB, free: 1.301 MB / 0.5919 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004033/1.151, allocations: 180.1 kB / 0.8829 GB, free: 1.133 MB / 0.5919 GB
Notification: Performance of NFVerifyModel.verify: time 0.0007657/1.152, allocations: 425.6 kB / 0.8833 GB, free: 0.7188 MB / 0.5919 GB
Notification: Performance of NFConvertDAE.convert: time 0.05627/1.209, allocations: 18.86 MB / 0.9018 GB, free: 15.3 MB / 0.6231 GB
Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/1.209, allocations: 3.984 kB / 0.9018 GB, free: 15.3 MB / 0.6231 GB
Notification: Performance of FrontEnd: time 1.663e-06/1.209, allocations: 4 kB / 0.9018 GB, free: 15.29 MB / 0.6231 GB
Notification: Performance of Transformations before backend: time 1.871e-05/1.209, allocations: 0 / 0.9018 GB, free: 15.29 MB / 0.6231 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 176
 * Number of variables: 176
Notification: Performance of Generate backend data structure: time 0.008603/1.217, allocations: 3.421 MB / 0.9051 GB, free: 11.84 MB / 0.6231 GB
Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.217, allocations: 15.98 kB / 0.9051 GB, free: 11.82 MB / 0.6231 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008614/1.218, allocations: 115.5 kB / 0.9052 GB, free: 11.71 MB / 0.6231 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006485/1.219, allocations: 347.1 kB / 0.9056 GB, free: 11.35 MB / 0.6231 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/1.219, allocations: 45 kB / 0.9056 GB, free: 11.3 MB / 0.6231 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.337e-05/1.219, allocations: 44 kB / 0.9056 GB, free: 11.26 MB / 0.6231 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/1.221, allocations: 0.8309 MB / 0.9065 GB, free: 10.41 MB / 0.6231 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/1.221, allocations: 7.938 kB / 0.9065 GB, free: 10.4 MB / 0.6231 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.116e-05/1.221, allocations: 20 kB / 0.9065 GB, free: 10.38 MB / 0.6231 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/1.221, allocations: 26.47 kB / 0.9065 GB, free: 10.36 MB / 0.6231 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/1.223, allocations: 0.7769 MB / 0.9073 GB, free: 9.582 MB / 0.6231 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004121/1.227, allocations: 3.405 MB / 0.9106 GB, free: 5.898 MB / 0.6231 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001644/1.229, allocations: 0.6503 MB / 0.9112 GB, free: 5.242 MB / 0.6231 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008082/1.229, allocations: 458 kB / 0.9117 GB, free: 4.793 MB / 0.6231 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.2821/1.511, allocations: 58.54 MB / 0.9688 GB, free: 10.42 MB / 0.6856 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/1.512, allocations: 43 kB / 0.9689 GB, free: 10.37 MB / 0.6856 GB
Notification: Performance of pre-optimization done (n=109): time 3.516e-06/1.512, allocations: 0 / 0.9689 GB, free: 10.37 MB / 0.6856 GB
Notification: Performance of matching and sorting (n=117): time 0.01018/1.522, allocations: 3.339 MB / 0.9721 GB, free: 7 MB / 0.6856 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/1.522, allocations: 59.91 kB / 0.9722 GB, free: 6.926 MB / 0.6856 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004201/1.522, allocations: 312.4 kB / 0.9725 GB, free: 6.613 MB / 0.6856 GB
Notification: Performance of collectPreVariables (initialization): time 6.009e-05/1.522, allocations: 37.69 kB / 0.9725 GB, free: 6.57 MB / 0.6856 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001851/1.522, allocations: 233.4 kB / 0.9728 GB, free: 6.34 MB / 0.6856 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003409/1.523, allocations: 395.9 kB / 0.9731 GB, free: 5.957 MB / 0.6856 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/1.523, allocations: 146.2 kB / 0.9733 GB, free: 5.809 MB / 0.6856 GB
Notification: Performance of setup shared object (initialization): time 0.0002023/1.523, allocations: 366.8 kB / 0.9736 GB, free: 5.441 MB / 0.6856 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008133/1.524, allocations: 409.7 kB / 0.974 GB, free: 5.043 MB / 0.6856 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009185/1.525, allocations: 0.5434 MB / 0.9745 GB, free: 4.449 MB / 0.6856 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/1.527, allocations: 1.002 MB / 0.9755 GB, free: 3.402 MB / 0.6856 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.527, allocations: 0 / 0.9755 GB, free: 3.402 MB / 0.6856 GB
Notification: Performance of matching and sorting (n=136) (initialization): time 0.002419/1.529, allocations: 1.163 MB / 0.9767 GB, free: 2.215 MB / 0.6856 GB
Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/1.529, allocations: 11.94 kB / 0.9767 GB, free: 2.203 MB / 0.6856 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.529, allocations: 4.469 kB / 0.9767 GB, free: 2.199 MB / 0.6856 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004708/1.53, allocations: 105.8 kB / 0.9768 GB, free: 2.09 MB / 0.6856 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/1.531, allocations: 202.4 kB / 0.977 GB, free: 1.895 MB / 0.6856 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4286/1.959, allocations: 35 MB / 1.011 GB, free: 142.8 MB / 0.7013 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005917/1.96, allocations: 39.17 kB / 1.011 GB, free: 142.8 MB / 0.7013 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.581e-05/1.96, allocations: 29.44 kB / 1.011 GB, free: 142.8 MB / 0.7013 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 16
 * Number of states: 0 ()
 * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,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 (73):
 * Single equations (assignments): 62
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 4
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 4
 * Torn equation systems: 3
 * 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): 4 systems
   {1, 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): 2 systems
   {(1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0003684/1.96, allocations: 227.6 kB / 1.011 GB, free: 142.7 MB / 0.7013 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/1.961, allocations: 66.25 kB / 1.011 GB, free: 142.7 MB / 0.7013 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/1.964, allocations: 2.425 MB / 1.014 GB, free: 142.5 MB / 0.7013 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/1.964, allocations: 26.5 kB / 1.014 GB, free: 142.5 MB / 0.7013 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.964, allocations: 0.875 kB / 1.014 GB, free: 142.5 MB / 0.7013 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001961/1.966, allocations: 1.686 MB / 1.016 GB, free: 142.1 MB / 0.7013 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/1.969, allocations: 2.495 MB / 1.018 GB, free: 141.7 MB / 0.7013 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.969, allocations: 0.9375 kB / 1.018 GB, free: 141.7 MB / 0.7013 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000448/1.969, allocations: 123.2 kB / 1.018 GB, free: 141.7 MB / 0.7013 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004381/1.969, allocations: 214.1 kB / 1.018 GB, free: 141.7 MB / 0.7013 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/1.97, allocations: 19.59 kB / 1.018 GB, free: 141.7 MB / 0.7013 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/1.971, allocations: 3.786 MB / 1.022 GB, free: 138.2 MB / 0.7013 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.971, allocations: 0 / 1.022 GB, free: 138.2 MB / 0.7013 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/1.974, allocations: 2.03 MB / 1.024 GB, free: 138 MB / 0.7013 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000136/1.974, allocations: 60.64 kB / 1.024 GB, free: 138 MB / 0.7013 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.95e-05/1.974, allocations: 11.88 kB / 1.024 GB, free: 138 MB / 0.7013 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/1.974, allocations: 36.48 kB / 1.024 GB, free: 138 MB / 0.7013 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.975, allocations: 69.98 kB / 1.024 GB, free: 138 MB / 0.7013 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/1.975, allocations: 27.83 kB / 1.024 GB, free: 138 MB / 0.7013 GB
Notification: Performance of sorting global known variables: time 0.0002324/1.975, allocations: 250.8 kB / 1.024 GB, free: 137.9 MB / 0.7013 GB
Notification: Performance of sort global known variables: time 8e-08/1.975, allocations: 3.281 kB / 1.024 GB, free: 137.9 MB / 0.7013 GB
Notification: Performance of remove unused functions: time 0.01222/1.987, allocations: 5.547 MB / 1.03 GB, free: 137.8 MB / 0.7013 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h)
 * Number of discrete variables: 14 ($cse13.phase,$cse16.phase,$cse17.phase,$cse18.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,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (60):
 * Single equations (assignments): 51
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 5
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,1,100.0%), (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.02534/2.012, allocations: 6.863 MB / 1.037 GB, free: 136.7 MB / 0.7013 GB
Notification: Performance of simCode: created initialization part: time 0.00311/2.015, allocations: 1.53 MB / 1.038 GB, free: 136.3 MB / 0.7013 GB
Notification: Performance of simCode: created event and clocks part: time 4.448e-06/2.016, allocations: 0 / 1.038 GB, free: 136.3 MB / 0.7013 GB
Notification: Performance of simCode: created simulation system equations: time 0.001113/2.017, allocations: 0.7932 MB / 1.039 GB, free: 136 MB / 0.7013 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/2.019, allocations: 0.5042 MB / 1.039 GB, free: 135.9 MB / 0.7013 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/2.021, allocations: 1.782 MB / 1.041 GB, free: 135.2 MB / 0.7013 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/2.021, allocations: 0.9345 MB / 1.042 GB, free: 134.5 MB / 0.7013 GB
Notification: Performance of simCode: alias equations: time 0.0005183/2.022, allocations: 185.1 kB / 1.042 GB, free: 134.5 MB / 0.7013 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/2.022, allocations: 52.02 kB / 1.042 GB, free: 134.5 MB / 0.7013 GB
Notification: Performance of SimCode: time 6.72e-07/2.022, allocations: 0 / 1.042 GB, free: 134.5 MB / 0.7013 GB
Notification: Performance of Templates: time 0.2187/2.241, allocations: 203 MB / 1.24 GB, free: 11.96 MB / 0.7481 GB
"
[Timeout remaining time 658]
make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.makefile [Timeout 660]
(rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2  -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 24.329779765568674]
Failed to read output from testmodel.py, exit status != 0:
2.248855193145573 2.261773506 1.050262413
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f7a38f8d7b0>