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.0009087/0.0009087, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.0009111/0.0009111, allocations: 165 kB / 24.22 MB, free: 240 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.9067/0.9067, allocations: 177.1 MB / 204.7 MB, free: 5.121 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.07573/0.07573, allocations: 11.4 MB / 272.6 MB, free: 2.07 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.613e-06/1.613e-06, allocations: 0 / 291.7 MB, free: 17.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.333e-05, allocations: 2.312 kB / 291.7 MB, free: 17.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.EoSAmmonia): time 0.03924/0.03925, allocations: 59.22 MB / 350.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.04394, allocations: 5.849 MB / 356.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.322e-05/0.04403, allocations: 4 kB / 356.8 MB, free: 7.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007922/0.04482, allocations: 364.6 kB / 357.2 MB, free: 7.484 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006062/0.04543, allocations: 494.8 kB / 357.6 MB, free: 7 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.01858/0.064, allocations: 10.37 MB / 368 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.06428, allocations: 295 kB / 368.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.06432, allocations: 6.344 kB / 368.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.06461, allocations: 243.3 kB / 368.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.06473, allocations: 103.8 kB / 368.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.06475, allocations: 8 kB / 368.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01305/0.0778, allocations: 11.04 MB / 379.7 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.125e-05/0.07789, allocations: 119.6 kB / 379.8 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.078, allocations: 99.58 kB / 379.9 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00635/0.08435, allocations: 4.869 MB / 384.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.08436, allocations: 0 / 384.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.08436, allocations: 0 / 384.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.08436, allocations: 0 / 384.8 MB, free: 11.8 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.001302/0.08566, allocations: 1.674 MB / 386.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.08569, allocations: 8.031 kB / 386.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.08596, allocations: 103.8 kB / 386.6 MB, free: 9.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.08616, allocations: 301.9 kB / 386.8 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.08617, allocations: 11 kB / 386.9 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.08619, allocations: 12 kB / 386.9 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.08646, allocations: 363.6 kB / 387.2 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.08646, allocations: 3.938 kB / 387.2 MB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.08648, allocations: 4 kB / 387.2 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.08648, allocations: 0 / 387.2 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.08666, allocations: 286.3 kB / 387.5 MB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.588e-05/0.08675, allocations: 76.56 kB / 387.6 MB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.08696, allocations: 316.6 kB / 387.9 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.08714, allocations: 294.4 kB / 388.2 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-06/0.08714, allocations: 0 / 388.2 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.08719, allocations: 104.2 kB / 388.3 MB, free: 8.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 6.31e-07/0.08719, allocations: 0 / 388.3 MB, free: 8.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006735/0.08787, allocations: 0.9739 MB / 389.3 MB, free: 7.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.08792, allocations: 117.1 kB / 389.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.08817, allocations: 496 kB / 389.9 MB, free: 6.527 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.08818, allocations: 25.7 kB / 389.9 MB, free: 6.496 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.08824, allocations: 154.5 kB / 390 MB, free: 6.344 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.08828, allocations: 51.56 kB / 390.1 MB, free: 6.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.08834, allocations: 57.64 kB / 390.1 MB, free: 6.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.08843, allocations: 374.7 kB / 390.5 MB, free: 5.855 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.08861, allocations: 292.4 kB / 390.8 MB, free: 5.562 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.0888, allocations: 293.5 kB / 391.1 MB, free: 5.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.08919, allocations: 0.6108 MB / 391.7 MB, free: 4.645 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.08919, allocations: 3.938 kB / 391.7 MB, free: 4.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004368/0.08963, allocations: 0.6575 MB / 392.4 MB, free: 3.965 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/0.08968, allocations: 81.7 kB / 392.4 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.08969, allocations: 3.938 kB / 392.4 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.08969, allocations: 4 kB / 392.4 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.163e-06/0.0897, allocations: 0 / 392.4 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.0897, allocations: 0 / 392.4 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.003e-05/0.08978, allocations: 19.89 kB / 392.5 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.0898, allocations: 11.98 kB / 392.5 MB, free: 3.84 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.0001307/0.08993, allocations: 218.2 kB / 392.7 MB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.08997, allocations: 55.94 kB / 392.7 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.09001, allocations: 46.25 kB / 392.8 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.09001, allocations: 0 / 392.8 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.09001, allocations: 0 / 392.8 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.09001, allocations: 0 / 392.8 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.09014, allocations: 186 kB / 393 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.09014, allocations: 0.625 kB / 393 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.09014, allocations: 0 / 393 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.09015, allocations: 8.453 kB / 393 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.09016, allocations: 15.97 kB / 393 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.09016, allocations: 5.75 kB / 393 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.09016, allocations: 0 / 393 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.09068, allocations: 0.8007 MB / 393.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.645e-05/0.09076, allocations: 87.41 kB / 393.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.0908, allocations: 16 kB / 393.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.09086, allocations: 8.516 kB / 393.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.01e-05/0.09087, allocations: 0 / 393.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.09089, allocations: 19.97 kB / 393.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.09101, allocations: 228.6 kB / 394.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.09101, allocations: 0 / 394.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007147/0.09172, allocations: 0.6039 MB / 394.8 MB, free: 1.484 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.001778/0.0935, allocations: 1.341 MB / 396.1 MB, free: 308 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005306/0.09403, allocations: 0.7726 MB / 396.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.09404, allocations: 12.06 kB / 396.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.0943, allocations: 465.6 kB / 397.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.09459, allocations: 119.8 kB / 397.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.09534, allocations: 0.9533 MB / 398.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.571e-05/0.09542, allocations: 143.2 kB / 398.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.893e-05/0.09545, allocations: 4 kB / 398.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.09572, allocations: 185.2 kB / 398.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.09573, allocations: 3.938 kB / 398.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of Templates: time 0.02224/0.118, allocations: 23.01 MB / 421.7 MB, free: 6.668 MB / 378.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.207637441344559]