Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.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.001203/0.001203, 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.001302/0.001302, allocations: 188.3 kB / 22.22 MB, free: 5.102 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.504/1.504, 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.05131/0.05131, allocations: 9.147 MB / 294.4 MB, free: 12.74 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.ConvergenceTest.Ancillary_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues")
translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues") [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.002503/0.002503, allocations: 74.23 kB / 411.5 MB, free: 46.24 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.08707/0.08957, allocations: 50.75 MB / 462.3 MB, free: 12.28 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02326/0.1128, allocations: 18.19 MB / 480.5 MB, free: 10 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01292/0.1257, allocations: 11.1 MB / 491.6 MB, free: 14.87 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1259, allocations: 4 kB / 491.6 MB, free: 14.86 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 6.295e-05/0.126, allocations: 11.86 kB / 491.6 MB, free: 14.85 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001108/0.1271, allocations: 374.2 kB / 491.9 MB, free: 14.48 MB / 366.1 MB
[/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.01742/0.1445, allocations: 5.595 MB / 497.5 MB, free: 8.883 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002845/0.1448, allocations: 135.4 kB / 497.7 MB, free: 8.75 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.201e-05/0.1448, allocations: 11.98 kB / 497.7 MB, free: 8.738 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003065/0.1451, allocations: 87.56 kB / 497.8 MB, free: 8.652 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1452, allocations: 51.78 kB / 497.8 MB, free: 8.602 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1453, allocations: 8 kB / 497.8 MB, free: 8.594 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01618/0.1614, allocations: 8.55 MB / 0.4945 GB, free: 28 kB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.1615, allocations: 19.91 kB / 0.4945 GB, free: 8 kB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1616, allocations: 43.8 kB / 0.4946 GB, free: 15.96 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.009267/0.1709, allocations: 3.414 MB / 0.4979 GB, free: 12.54 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1709, allocations: 0 / 0.4979 GB, free: 12.54 MB / 382.1 MB
Notification: Performance of FrontEnd: time 2.184e-06/0.1709, allocations: 0 / 0.4979 GB, free: 12.54 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 1.276e-05/0.1709, allocations: 0 / 0.4979 GB, free: 12.54 MB / 382.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.001641/0.1726, allocations: 0.7556 MB / 0.4986 GB, free: 11.75 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1726, allocations: 15.92 kB / 0.4986 GB, free: 11.74 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.1728, allocations: 19.88 kB / 0.4987 GB, free: 11.72 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.1729, allocations: 129.1 kB / 0.4988 GB, free: 11.57 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1729, allocations: 0 / 0.4988 GB, free: 11.57 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1729, allocations: 4 kB / 0.4988 GB, free: 11.56 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.1733, allocations: 105.5 kB / 0.4989 GB, free: 11.45 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1733, allocations: 0 / 0.4989 GB, free: 11.45 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.1733, allocations: 7.984 kB / 0.4989 GB, free: 11.45 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1733, allocations: 0 / 0.4989 GB, free: 11.45 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.1737, allocations: 107.8 kB / 0.499 GB, free: 11.34 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.1742, allocations: 287.9 kB / 0.4993 GB, free: 11.02 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.1746, allocations: 102.5 kB / 0.4994 GB, free: 10.91 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.1748, allocations: 64.75 kB / 0.4994 GB, free: 10.84 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01787/0.1927, allocations: 4.589 MB / 0.5039 GB, free: 6.242 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.1927, allocations: 42.48 kB / 0.504 GB, free: 6.191 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=9): time 2.304e-06/0.1928, allocations: 0 / 0.504 GB, free: 6.191 MB / 382.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0009449/0.1937, allocations: 209.6 kB / 0.5042 GB, free: 5.98 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.1937, allocations: 59.39 kB / 0.5042 GB, free: 5.91 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1939, allocations: 133.8 kB / 0.5043 GB, free: 5.773 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.1939, allocations: 29.7 kB / 0.5044 GB, free: 5.738 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.194, allocations: 92.14 kB / 0.5045 GB, free: 5.645 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.194, allocations: 35.69 kB / 0.5045 GB, free: 5.609 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.1941, allocations: 21.72 kB / 0.5045 GB, free: 5.582 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001441/0.1942, allocations: 318.8 kB / 0.5048 GB, free: 5.262 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.1944, allocations: 51.89 kB / 0.5049 GB, free: 5.211 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.1946, allocations: 56.27 kB / 0.5049 GB, free: 5.156 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.1949, allocations: 104.8 kB / 0.505 GB, free: 5.051 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1949, allocations: 0 / 0.505 GB, free: 5.051 MB / 382.1 MB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.000419/0.1953, allocations: 153.5 kB / 0.5052 GB, free: 4.895 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1953, allocations: 7.938 kB / 0.5052 GB, free: 4.887 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1954, allocations: 0 / 0.5052 GB, free: 4.887 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1954, allocations: 0 / 0.5052 GB, free: 4.887 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1955, allocations: 31.97 kB / 0.5052 GB, free: 4.855 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.1955, allocations: 3.984 kB / 0.5052 GB, free: 4.852 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1956, allocations: 19.92 kB / 0.5052 GB, free: 4.832 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1956, allocations: 4 kB / 0.5052 GB, free: 4.828 MB / 382.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (9):
 * Single equations (assignments): 9
 * 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.0001027/0.1958, allocations: 121.8 kB / 0.5053 GB, free: 4.699 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.1958, allocations: 15.84 kB / 0.5054 GB, free: 4.684 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007322/0.1965, allocations: 402.9 kB / 0.5057 GB, free: 4.289 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.1965, allocations: 3.984 kB / 0.5057 GB, free: 4.285 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1966, allocations: 4 kB / 0.5058 GB, free: 4.281 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1966, allocations: 4.281 kB / 0.5058 GB, free: 4.277 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.1969, allocations: 253 kB / 0.506 GB, free: 3.988 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1969, allocations: 3.938 kB / 0.506 GB, free: 3.984 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.197, allocations: 39.84 kB / 0.506 GB, free: 3.945 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.197, allocations: 3.938 kB / 0.506 GB, free: 3.941 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.197, allocations: 4 kB / 0.506 GB, free: 3.938 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.197, allocations: 4 kB / 0.5061 GB, free: 3.934 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.197, allocations: 0 / 0.5061 GB, free: 3.934 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006795/0.1977, allocations: 452 kB / 0.5065 GB, free: 3.477 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.1978, allocations: 31.77 kB / 0.5065 GB, free: 3.445 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1978, allocations: 11.98 kB / 0.5065 GB, free: 3.434 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.198, allocations: 15.98 kB / 0.5065 GB, free: 3.418 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.198, allocations: 11.98 kB / 0.5066 GB, free: 3.406 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.198, allocations: 0 / 0.5066 GB, free: 3.406 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 8.44e-05/0.1981, allocations: 107.2 kB / 0.5067 GB, free: 3.301 MB / 382.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.1981, allocations: 0 / 0.5067 GB, free: 3.301 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.001431/0.1995, allocations: 454.5 kB / 0.5071 GB, free: 2.855 MB / 382.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: 3 ($cse1.liq.phase,$cse1.vap.phase,$cse2.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (11):
 * Single equations (assignments): 9
 * 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.001698/0.2012, allocations: 0.7175 MB / 0.5078 GB, free: 2.125 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005317/0.2018, allocations: 211.8 kB / 0.508 GB, free: 1.918 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2018, allocations: 0 / 0.508 GB, free: 1.918 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.2021, allocations: 139.9 kB / 0.5081 GB, free: 1.781 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.2024, allocations: 31.97 kB / 0.5082 GB, free: 1.75 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/0.2032, allocations: 373.8 kB / 0.5085 GB, free: 1.355 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.2035, allocations: 0.72 MB / 0.5092 GB, free: 0.6094 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 8.693e-05/0.2036, allocations: 24.02 kB / 0.5092 GB, free: 0.5898 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.2036, allocations: 15.62 kB / 0.5093 GB, free: 0.5742 MB / 382.1 MB
Notification: Performance of SimCode: time 2.9e-07/0.2036, allocations: 0 / 0.5093 GB, free: 0.5742 MB / 382.1 MB
Notification: Performance of Templates: time 0.02347/0.2271, allocations: 14.48 MB / 0.5234 GB, free: 2.09 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.makefile [Timeout 660]
(rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues  -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.435460709035397]
Failed to read output from testmodel.py, exit status != 0:
0.236760588362813 0.42558792900000003 0.252089198
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fedc5f5d7b0>