Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002645/0.002645, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003093/0.003093, allocations: 169.9 kB / 22.45 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.707/1.707, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.107/0.107, allocations: 11.36 MB / 270.5 MB, free: 2.605 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Validation.Properties.EoSAmmonia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia") translateModel(HelmholtzMedia.Validation.Properties.EoSAmmonia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 398.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.243e-05, allocations: 2.281 kB / 398.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.EoSAmmonia): time 0.3153/0.3153, allocations: 52.15 MB / 450.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00703/0.3223, allocations: 5.155 MB / 455.4 MB, free: 6.883 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.3224, allocations: 3 kB / 455.4 MB, free: 6.883 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.3236, allocations: 335.1 kB / 455.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009434/0.3245, allocations: 471.9 kB / 456.2 MB, free: 6.398 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Validation/Properties/EoSCheck.mo:32:3-43:12:writable] Warning: Pure function 'HelmholtzMedia.Validation.Properties.EoSAmmonia.check' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.04296/0.3675, allocations: 9.861 MB / 466.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005696/0.368, allocations: 286.9 kB / 466.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.814e-05/0.3681, allocations: 5.688 kB / 466.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004789/0.3686, allocations: 218 kB / 466.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.3688, allocations: 119.7 kB / 466.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.3688, allocations: 12 kB / 466.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03003/0.3989, allocations: 10.07 MB / 476.8 MB, free: 3.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.3991, allocations: 123.5 kB / 476.9 MB, free: 2.949 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.3993, allocations: 103.5 kB / 477 MB, free: 2.848 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02306/0.4224, allocations: 4.897 MB / 481.9 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.4224, allocations: 4 kB / 481.9 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4224, allocations: 0 / 481.9 MB, free: 13.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.236e-05/0.4225, allocations: 0 / 481.9 MB, free: 13.93 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.004462/0.4269, allocations: 1.748 MB / 483.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/0.427, allocations: 12.03 kB / 483.7 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005984/0.4276, allocations: 96.41 kB / 483.8 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.428, allocations: 281.9 kB / 484 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.428, allocations: 4 kB / 484 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.4281, allocations: 8 kB / 484.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009346/0.429, allocations: 0.5264 MB / 484.6 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.429, allocations: 0 / 484.6 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.429, allocations: 7.938 kB / 484.6 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.4291, allocations: 0 / 484.6 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006837/0.4297, allocations: 465.4 kB / 485 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.4302, allocations: 261.1 kB / 485.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000719/0.431, allocations: 495.9 kB / 485.8 MB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006483/0.4316, allocations: 466.3 kB / 486.2 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.4316, allocations: 4 kB / 486.2 MB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.4317, allocations: 101.9 kB / 486.3 MB, free: 9.344 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/0.4317, allocations: 0 / 486.3 MB, free: 9.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.002554/0.4343, allocations: 1.593 MB / 487.9 MB, free: 7.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.4344, allocations: 121 kB / 488.1 MB, free: 7.586 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008522/0.4353, allocations: 0.5901 MB / 488.6 MB, free: 6.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.4353, allocations: 29.73 kB / 488.7 MB, free: 6.949 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.4356, allocations: 256.6 kB / 488.9 MB, free: 6.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.54e-05/0.4357, allocations: 47.61 kB / 489 MB, free: 6.648 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.4358, allocations: 61.66 kB / 489 MB, free: 6.582 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002648/0.4361, allocations: 370.8 kB / 489.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006129/0.4367, allocations: 465.4 kB / 489.8 MB, free: 5.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006343/0.4373, allocations: 480 kB / 490.3 MB, free: 5.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.4386, allocations: 0.941 MB / 491.3 MB, free: 4.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.4386, allocations: 0 / 491.3 MB, free: 4.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001581/0.4402, allocations: 1.069 MB / 492.3 MB, free: 3.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.4403, allocations: 88.38 kB / 492.4 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4403, allocations: 0 / 492.4 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.4403, allocations: 3.938 kB / 492.4 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.4403, allocations: 0 / 492.4 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4403, allocations: 4 kB / 492.4 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.4405, allocations: 11.89 kB / 492.4 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/0.4405, allocations: 16.02 kB / 492.4 MB, free: 3.109 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (sat.vap.s,sat.vap.h,sat.vap.u,sat.vap.d,sat.vap.p,sat.vap.T,sat.vap.phase,sat.liq.s,sat.liq.h,sat.liq.u,sat.liq.d,sat.liq.p,sat.liq.T,sat.liq.phase,sat.Tsat,sat.psat,state.s,state.h,state.u,state.d,state.p,state.T,state.phase,nFailed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003877/0.4409, allocations: 279.4 kB / 492.7 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.4411, allocations: 67.58 kB / 492.8 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.251e-05/0.4411, allocations: 57.73 kB / 492.8 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4412, allocations: 3.938 kB / 492.8 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4412, allocations: 2.25 kB / 492.8 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4412, allocations: 3.938 kB / 492.8 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.4416, allocations: 297 kB / 493.1 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.4416, allocations: 7.984 kB / 493.1 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-06/0.4416, allocations: 0 / 493.1 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4416, allocations: 0 / 493.1 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.4416, allocations: 19.98 kB / 493.2 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4416, allocations: 0 / 493.2 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.4416, allocations: 3.938 kB / 493.2 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.4436, allocations: 1.251 MB / 494.4 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.4439, allocations: 103.5 kB / 494.5 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/0.4439, allocations: 15.98 kB / 494.5 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.4441, allocations: 8 kB / 494.5 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.4441, allocations: 3.938 kB / 494.6 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.4441, allocations: 19.98 kB / 494.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005753/0.4447, allocations: 423 kB / 495 MB, free: 0.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4447, allocations: 4 kB / 495 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00222/0.4469, allocations: 0.5966 MB / 495.6 MB, free: 15.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (nFailed,state.phase,state.T,state.p,state.d,state.u,state.h,state.s,sat.psat,sat.Tsat,sat.liq.phase,sat.liq.T,sat.liq.p,sat.liq.d,sat.liq.u,sat.liq.h,sat.liq.s,sat.vap.phase,sat.vap.T,sat.vap.p,sat.vap.d,sat.vap.u,sat.vap.h,sat.vap.s) * Number of discrete states: 24 (sat.vap.phase,sat.vap.T,sat.vap.p,sat.vap.d,sat.vap.u,sat.vap.h,sat.vap.s,sat.liq.phase,sat.liq.T,sat.liq.p,sat.liq.d,sat.liq.u,sat.liq.h,sat.liq.s,sat.Tsat,sat.psat,state.s,state.h,state.u,state.d,state.p,state.T,state.phase,nFailed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.004845/0.4518, allocations: 1.259 MB / 496.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.4535, allocations: 1.139 MB / 498 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4535, allocations: 0 / 498 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00085/0.4543, allocations: 0.6177 MB / 498.6 MB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.4551, allocations: 103 kB / 498.7 MB, free: 12.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.457, allocations: 1.212 MB / 499.9 MB, free: 11.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.4574, allocations: 257.8 kB / 0.4884 GB, free: 11.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.901e-05/0.4574, allocations: 11.92 kB / 0.4885 GB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.4575, allocations: 12.5 kB / 0.4885 GB, free: 11.28 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4575, allocations: 0 / 0.4885 GB, free: 11.28 MB / 394.7 MB Notification: Performance of Templates: time 0.04305/0.5005, allocations: 20.43 MB / 0.5084 GB, free: 6.953 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.594312792643905]