Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium.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.001885/0.001885, 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.002064/0.002064, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.692/1.692, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.0879/0.0879, allocations: 11.35 MB / 270.5 MB, free: 2.609 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.EoSHelium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium") translateModel(HelmholtzMedia.Validation.Properties.EoSHelium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 398.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.266e-05, allocations: 2.281 kB / 398.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.EoSHelium): time 0.3085/0.3086, allocations: 51.93 MB / 450 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00681/0.3154, allocations: 4.739 MB / 454.8 MB, free: 7.41 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.3155, allocations: 0 / 454.8 MB, free: 7.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.3169, allocations: 315.4 kB / 455.1 MB, free: 7.195 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.3172, allocations: 116.9 kB / 455.2 MB, free: 7.117 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Validation/Properties/EoSHelium.mo:38:3-49:12:writable] Warning: Pure function 'HelmholtzMedia.Validation.Properties.EoSHelium.check' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.03637/0.3536, allocations: 9.433 MB / 464.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004534/0.354, allocations: 239 kB / 464.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.3541, allocations: 5.688 kB / 464.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.3545, allocations: 203.4 kB / 465.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.3547, allocations: 83.8 kB / 465.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.626e-05/0.3548, allocations: 4 kB / 465.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02656/0.3813, allocations: 9.432 MB / 474.6 MB, free: 5.266 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.3815, allocations: 163.4 kB / 474.8 MB, free: 5.105 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.3818, allocations: 107.5 kB / 474.9 MB, free: 5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02064/0.4024, allocations: 4.751 MB / 479.6 MB, free: 244 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4025, allocations: 0 / 479.6 MB, free: 244 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4025, allocations: 0 / 479.6 MB, free: 244 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.4025, allocations: 0 / 479.6 MB, free: 244 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.004327/0.4068, allocations: 2.067 MB / 481.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.977e-05/0.4069, allocations: 12.03 kB / 481.7 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005399/0.4074, allocations: 103.4 kB / 481.8 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.4079, allocations: 313.6 kB / 482.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.4079, allocations: 7.938 kB / 482.1 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.043e-05/0.408, allocations: 5.688 kB / 482.1 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.4086, allocations: 311.1 kB / 482.4 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.4086, allocations: 0 / 482.4 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.4087, allocations: 4 kB / 482.4 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4087, allocations: 0 / 482.4 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/0.4091, allocations: 221.5 kB / 482.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.4097, allocations: 301 kB / 482.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.4101, allocations: 232.2 kB / 483.2 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/0.4105, allocations: 226.4 kB / 483.4 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.4106, allocations: 0 / 483.4 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.4107, allocations: 100.2 kB / 483.5 MB, free: 12.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.4107, allocations: 0 / 483.5 MB, free: 12.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001983/0.4127, allocations: 0.9063 MB / 484.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/0.4128, allocations: 117.1 kB / 484.5 MB, free: 11.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.4139, allocations: 0.759 MB / 485.3 MB, free: 10.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.414, allocations: 33.73 kB / 485.3 MB, free: 10.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.414, allocations: 82.47 kB / 485.4 MB, free: 10.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.4142, allocations: 51.55 kB / 485.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.4145, allocations: 149.1 kB / 485.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.4147, allocations: 330.8 kB / 485.9 MB, free: 9.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.415, allocations: 209.6 kB / 486.1 MB, free: 9.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.4153, allocations: 221.5 kB / 486.3 MB, free: 9.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/0.416, allocations: 469.5 kB / 486.8 MB, free: 8.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.416, allocations: 0 / 486.8 MB, free: 8.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009004/0.4169, allocations: 0.5592 MB / 487.3 MB, free: 8.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.417, allocations: 81.64 kB / 487.4 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.417, allocations: 4.062 kB / 487.4 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.417, allocations: 0 / 487.4 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.274e-06/0.417, allocations: 2.25 kB / 487.4 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4171, allocations: 0 / 487.4 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.4172, allocations: 23.89 kB / 487.4 MB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.4173, allocations: 59.97 kB / 487.5 MB, free: 8.066 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: 29 (x[5],x[4],x[3],x[2],x[1],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.0004831/0.4178, allocations: 323.3 kB / 487.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.418, allocations: 95.38 kB / 487.9 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.482e-05/0.4181, allocations: 76.06 kB / 488 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4181, allocations: 3.938 kB / 488 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4181, allocations: 0 / 488 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4181, allocations: 0 / 488 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.4185, allocations: 345 kB / 488.3 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4185, allocations: 0 / 488.3 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.4185, allocations: 0 / 488.3 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.4185, allocations: 3.938 kB / 488.3 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.4186, allocations: 31.97 kB / 488.4 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4186, allocations: 4 kB / 488.4 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4186, allocations: 4 kB / 488.4 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.4199, allocations: 0.816 MB / 489.2 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000503/0.4204, allocations: 237.1 kB / 489.4 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.4205, allocations: 16.88 kB / 489.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.4206, allocations: 15.98 kB / 489.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.4207, allocations: 8 kB / 489.4 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.762e-05/0.4208, allocations: 59.98 kB / 489.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006783/0.4214, allocations: 0.5224 MB / 490 MB, free: 5.445 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4214, allocations: 0 / 490 MB, free: 5.445 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001885/0.4233, allocations: 0.5845 MB / 490.6 MB, free: 4.859 MB / 378.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: 29 (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,x[1],x[2],x[3],x[4],x[5]) * Number of discrete states: 29 (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,x[5],x[4],x[3],x[2],x[1],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.003247/0.4266, allocations: 1.247 MB / 491.9 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.4277, allocations: 0.6625 MB / 492.5 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4277, allocations: 0 / 492.5 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.4283, allocations: 384.9 kB / 492.9 MB, free: 2.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007109/0.429, allocations: 111.3 kB / 493 MB, free: 2.516 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.431, allocations: 1.174 MB / 494.2 MB, free: 1.309 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.4314, allocations: 293.2 kB / 494.5 MB, free: 1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.315e-05/0.4314, allocations: 4 kB / 494.5 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.4314, allocations: 12.5 kB / 494.5 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4314, allocations: 0 / 494.5 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of Templates: time 0.03912/0.4705, allocations: 21.14 MB / 0.5035 GB, free: 11.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.32662730012089]