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.0006779/0.0006779, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000833/0.001511, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000788/0.000788, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008217/0.00161, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9116/0.9116, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09628/1.008, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.05024/0.05024, allocations: 11.71 MB / 255.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003841/0.05409, allocations: 3.087 MB / 258.8 MB, free: 0.8281 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.022e-06/1.022e-06, allocations: 0 / 260 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.296e-05, allocations: 17.14 kB / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.EoSAmmonia): time 0.1469/0.1469, allocations: 59.1 MB / 319.2 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004253/0.1512, allocations: 5.861 MB / 325 MB, free: 2.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.1512, allocations: 4 kB / 325 MB, free: 2.477 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008636/0.1521, allocations: 371.2 kB / 325.4 MB, free: 2.113 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005033/0.1526, allocations: 491.5 kB / 325.9 MB, free: 1.633 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.01738/0.17, allocations: 10.31 MB / 336.2 MB, free: 7.289 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.1703, allocations: 298.9 kB / 336.5 MB, free: 6.996 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.1703, allocations: 8.344 kB / 336.5 MB, free: 6.992 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.1706, allocations: 252 kB / 336.7 MB, free: 6.746 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1707, allocations: 111.8 kB / 336.8 MB, free: 6.637 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.1708, allocations: 11.94 kB / 336.8 MB, free: 6.625 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01678/0.1875, allocations: 11.17 MB / 348 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/0.1876, allocations: 119.5 kB / 348.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1877, allocations: 83.62 kB / 348.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006549/0.1943, allocations: 4.071 MB / 352.3 MB, free: 7.172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.522e-05/0.1943, allocations: 7.984 kB / 352.3 MB, free: 7.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1943, allocations: 0 / 352.3 MB, free: 7.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.1943, allocations: 0 / 352.3 MB, free: 7.164 MB / 330.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.002141/0.1965, allocations: 2.012 MB / 354.3 MB, free: 5.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.1965, allocations: 12.03 kB / 354.3 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003777/0.1969, allocations: 173 kB / 354.5 MB, free: 4.914 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1971, allocations: 313.9 kB / 354.8 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1971, allocations: 4 kB / 354.8 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1972, allocations: 7.938 kB / 354.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.1975, allocations: 367.6 kB / 355.2 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1975, allocations: 3.938 kB / 355.2 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1976, allocations: 6.578 kB / 355.2 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.1976, allocations: 1.25 kB / 355.2 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.1978, allocations: 290.5 kB / 355.4 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.1979, allocations: 75.75 kB / 355.5 MB, free: 3.812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.1983, allocations: 308.1 kB / 355.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.1985, allocations: 302.4 kB / 356.1 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-06/0.1985, allocations: 0 / 356.1 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.528e-05/0.1986, allocations: 96.22 kB / 356.2 MB, free: 3.082 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.132e-06/0.1986, allocations: 0 / 356.2 MB, free: 3.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008755/0.1995, allocations: 0.9733 MB / 357.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.1995, allocations: 125.1 kB / 357.3 MB, free: 1.945 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004501/0.2, allocations: 488 kB / 357.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.2, allocations: 29.7 kB / 357.8 MB, free: 1.422 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.2001, allocations: 154.5 kB / 358 MB, free: 1.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.2001, allocations: 51.58 kB / 358 MB, free: 1.219 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/0.2002, allocations: 53.64 kB / 358.1 MB, free: 1.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2003, allocations: 378.6 kB / 358.4 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.2005, allocations: 292.4 kB / 358.7 MB, free: 500 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.2008, allocations: 297.5 kB / 359 MB, free: 196 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/0.2013, allocations: 0.6032 MB / 359.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2013, allocations: 0 / 359.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000561/0.2018, allocations: 0.6607 MB / 360.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.506e-05/0.2019, allocations: 95.23 kB / 360.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2019, allocations: 4.938 kB / 360.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.2019, allocations: 0 / 360.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.718e-06/0.2019, allocations: 0 / 360.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.2019, allocations: 0 / 360.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.788e-05/0.202, allocations: 15.89 kB / 360.4 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.202, allocations: 11.98 kB / 360.4 MB, free: 14.77 MB / 346.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.0001629/0.2022, allocations: 210.2 kB / 360.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.2023, allocations: 55.94 kB / 360.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.2023, allocations: 49.67 kB / 360.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2023, allocations: 4 kB / 360.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.2023, allocations: 2.062 kB / 360.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2023, allocations: 0 / 360.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.2025, allocations: 190.1 kB / 360.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2025, allocations: 0 / 360.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2025, allocations: 0 / 360.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.2026, allocations: 75.58 kB / 361 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2026, allocations: 0 / 361 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.2026, allocations: 23.91 kB / 361 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.2026, allocations: 0 / 361 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2026, allocations: 4 kB / 361 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009145/0.2035, allocations: 0.8047 MB / 361.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.2036, allocations: 22 kB / 361.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-05/0.2037, allocations: 7.938 kB / 361.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.2037, allocations: 7.938 kB / 361.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.2037, allocations: 16.61 kB / 361.9 MB, free: 13.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001787/0.2039, allocations: 232.6 kB / 362.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2039, allocations: 0 / 362.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009958/0.2049, allocations: 0.5923 MB / 362.7 MB, free: 12.42 MB / 346.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.002201/0.2071, allocations: 1.387 MB / 364.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006652/0.2077, allocations: 0.7649 MB / 364.8 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.2078, allocations: 11.98 kB / 364.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.2081, allocations: 469.7 kB / 365.3 MB, free: 9.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.2085, allocations: 155.2 kB / 365.5 MB, free: 9.789 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009022/0.2094, allocations: 0.9588 MB / 366.4 MB, free: 8.785 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.184e-05/0.2095, allocations: 145.1 kB / 366.6 MB, free: 8.625 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.664e-05/0.2095, allocations: 9.547 kB / 366.6 MB, free: 8.617 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.2099, allocations: 185.2 kB / 366.7 MB, free: 8.434 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2099, allocations: 0 / 366.7 MB, free: 8.434 MB / 346.7 MB Notification: Performance of Templates: time 0.02833/0.2382, allocations: 23.13 MB / 389.9 MB, free: 1.438 MB / 362.7 MB " [Timeout remaining time 660] 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: 3.123867569491267]