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.0009277/0.0009277, allocations: 77.33 kB / 20.86 MB, free: 3.594 MB / 18.57 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.0009803/0.0009803, allocations: 168.5 kB / 24.3 MB, free: 164 kB / 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 0.961/0.961, allocations: 177.2 MB / 204.7 MB, free: 5.418 MB / 186.7 MB " [Timeout remaining time 179] 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.04665/0.04665, allocations: 11.7 MB / 272.9 MB, free: 1.852 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.403e-06/1.403e-06, allocations: 0 / 292.2 MB, free: 16.54 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.763e-05, allocations: 3.297 kB / 292.2 MB, free: 16.53 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.EoSAmmonia): time 0.04168/0.0417, allocations: 59.31 MB / 351.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004291/0.04599, allocations: 5.836 MB / 357.4 MB, free: 6.785 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.079e-05/0.04607, allocations: 0 / 357.4 MB, free: 6.785 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007403/0.04681, allocations: 384.5 kB / 357.7 MB, free: 6.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005329/0.04734, allocations: 496.2 kB / 358.2 MB, free: 5.926 MB / 314.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.01803/0.06537, allocations: 10.37 MB / 368.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000323/0.06569, allocations: 298.9 kB / 368.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.06573, allocations: 6.344 kB / 368.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.06605, allocations: 235.4 kB / 369.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.06617, allocations: 103.8 kB / 369.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.06619, allocations: 8 kB / 369.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01564/0.08183, allocations: 11.03 MB / 380.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.118e-05/0.08192, allocations: 123.5 kB / 380.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.08206, allocations: 99.53 kB / 380.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01/0.09207, allocations: 4.877 MB / 385.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.09207, allocations: 0 / 385.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09208, allocations: 0 / 385.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.09208, allocations: 0 / 385.4 MB, free: 10.73 MB / 346.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.001671/0.09375, allocations: 1.677 MB / 387 MB, free: 9.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.09379, allocations: 8.031 kB / 387 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.09407, allocations: 95.89 kB / 387.1 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.09429, allocations: 299.4 kB / 387.4 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.09431, allocations: 4 kB / 387.4 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.09432, allocations: 11.94 kB / 387.5 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.09461, allocations: 372.4 kB / 387.8 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.09462, allocations: 0 / 387.8 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.09463, allocations: 4 kB / 387.8 MB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.09464, allocations: 7.406 kB / 387.8 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.09482, allocations: 288.6 kB / 388.1 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.09492, allocations: 75.77 kB / 388.2 MB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.09515, allocations: 320.1 kB / 388.5 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.09533, allocations: 298.4 kB / 388.8 MB, free: 7.195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-06/0.09534, allocations: 0 / 388.8 MB, free: 7.195 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.661e-05/0.09539, allocations: 96.22 kB / 388.9 MB, free: 7.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.212e-06/0.09539, allocations: 4 kB / 388.9 MB, free: 7.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006783/0.09607, allocations: 0.9712 MB / 389.9 MB, free: 6.086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.09612, allocations: 113.1 kB / 390 MB, free: 5.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.09636, allocations: 484 kB / 390.4 MB, free: 5.469 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.09638, allocations: 29.7 kB / 390.5 MB, free: 5.434 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.09644, allocations: 158.5 kB / 390.6 MB, free: 5.277 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.09648, allocations: 55.5 kB / 390.7 MB, free: 5.223 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.09654, allocations: 57.64 kB / 390.7 MB, free: 5.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.09663, allocations: 382.6 kB / 391.1 MB, free: 4.777 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.09682, allocations: 296.3 kB / 391.4 MB, free: 4.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.09699, allocations: 289.6 kB / 391.7 MB, free: 4.191 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.09737, allocations: 0.5988 MB / 392.3 MB, free: 3.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.09738, allocations: 4.75 kB / 392.3 MB, free: 3.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004352/0.09781, allocations: 0.6635 MB / 392.9 MB, free: 2.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.011e-05/0.09787, allocations: 85.62 kB / 393 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.09788, allocations: 0 / 393 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.09789, allocations: 0 / 393 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.648e-06/0.09789, allocations: 0 / 393 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.0979, allocations: 1.328 kB / 393 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.09798, allocations: 21.91 kB / 393.1 MB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.098, allocations: 15.98 kB / 393.1 MB, free: 2.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.0001405/0.09814, allocations: 218.2 kB / 393.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.09819, allocations: 47.95 kB / 393.3 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.09822, allocations: 53.72 kB / 393.4 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.09823, allocations: 0 / 393.4 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.09823, allocations: 0 / 393.4 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-05/0.09832, allocations: 79.52 kB / 393.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.09837, allocations: 15.94 kB / 393.5 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.578e-05/0.09842, allocations: 8 kB / 393.5 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.09843, allocations: 4 kB / 393.5 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004964/0.09893, allocations: 0.8513 MB / 394.3 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005627/0.09949, allocations: 0.9847 MB / 395.3 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002231/0.09972, allocations: 357.2 kB / 395.7 MB, free: 84 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001422/0.09986, allocations: 236.5 kB / 395.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of Backend: time 3.81e-07/0.09986, allocations: 0 / 395.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003772/0.1036, allocations: 2.661 MB / 398.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of SimCode: time 0.0008681/0.1045, allocations: 1.36 MB / 399.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Templates: time 0.03777/0.1423, allocations: 41.09 MB / 441 MB, free: 2.844 MB / 394.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.8480667853727937]