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.0008707/0.0008707, allocations: 79.75 kB / 20.12 MB, free: 4.148 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.0008819/0.0008819, allocations: 160.5 kB / 23.55 MB, free: 0.7148 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 0.9203/0.9203, allocations: 177.1 MB / 204 MB, free: 5.406 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.07868/0.07868, allocations: 11.73 MB / 272.2 MB, free: 1.801 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.453e-06/1.453e-06, allocations: 0 / 291.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.194e-05, allocations: 6.641 kB / 291.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.EoSAmmonia): time 0.03742/0.03743, allocations: 59.32 MB / 350.9 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004232/0.04166, allocations: 5.837 MB / 356.7 MB, free: 6.961 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.242e-05/0.04174, allocations: 4 kB / 356.7 MB, free: 6.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007351/0.04247, allocations: 368.8 kB / 357.1 MB, free: 6.598 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005462/0.04302, allocations: 495.4 kB / 357.6 MB, free: 6.113 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.01985/0.06287, allocations: 10.37 MB / 367.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.06317, allocations: 300 kB / 368.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.0632, allocations: 6.344 kB / 368.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.06349, allocations: 227.4 kB / 368.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.06362, allocations: 115.8 kB / 368.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.06365, allocations: 8 kB / 368.6 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01301/0.07666, allocations: 11.02 MB / 379.6 MB, free: 24 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.802e-05/0.07675, allocations: 123.5 kB / 379.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.944e-05/0.07685, allocations: 103.5 kB / 379.8 MB, free: 15.8 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00681/0.08366, allocations: 4.877 MB / 384.7 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.08366, allocations: 0 / 384.7 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.08366, allocations: 0 / 384.7 MB, free: 10.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.08367, allocations: 0 / 384.7 MB, free: 10.91 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.001861/0.08553, allocations: 1.669 MB / 386.4 MB, free: 9.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.08557, allocations: 8.031 kB / 386.4 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/0.08583, allocations: 95.91 kB / 386.5 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.08607, allocations: 305.9 kB / 386.8 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.08608, allocations: 4 kB / 386.8 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.0861, allocations: 8 kB / 386.8 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.08638, allocations: 367.6 kB / 387.1 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.08639, allocations: 0 / 387.1 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.0864, allocations: 4 kB / 387.1 MB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.08641, allocations: 7.875 kB / 387.2 MB, free: 8.387 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.08659, allocations: 296.1 kB / 387.4 MB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.224e-05/0.08669, allocations: 71.77 kB / 387.5 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.0869, allocations: 316.1 kB / 387.8 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.08708, allocations: 294.4 kB / 388.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.339e-06/0.08708, allocations: 4 kB / 388.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.08713, allocations: 96.22 kB / 388.2 MB, free: 7.273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.312e-06/0.08714, allocations: 0 / 388.2 MB, free: 7.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006804/0.08782, allocations: 0.9694 MB / 389.2 MB, free: 6.281 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.08787, allocations: 121.1 kB / 389.3 MB, free: 6.145 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.08814, allocations: 492 kB / 389.8 MB, free: 5.648 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.08815, allocations: 29.7 kB / 389.8 MB, free: 5.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.08821, allocations: 150.5 kB / 390 MB, free: 5.465 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.08825, allocations: 55.52 kB / 390 MB, free: 5.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.08831, allocations: 57.64 kB / 390.1 MB, free: 5.348 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.08841, allocations: 378.6 kB / 390.4 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.08859, allocations: 292.4 kB / 390.7 MB, free: 4.676 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.08877, allocations: 293.5 kB / 391 MB, free: 4.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.08915, allocations: 0.603 MB / 391.6 MB, free: 3.766 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.08915, allocations: 0 / 391.6 MB, free: 3.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000445/0.08959, allocations: 0.6652 MB / 392.3 MB, free: 3.082 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.08965, allocations: 77.62 kB / 392.4 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.08966, allocations: 8.062 kB / 392.4 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.08967, allocations: 0 / 392.4 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.08967, allocations: 0 / 392.4 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-06/0.08967, allocations: 0 / 392.4 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.617e-05/0.08975, allocations: 21.28 kB / 392.4 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.08977, allocations: 21.88 kB / 392.4 MB, free: 2.953 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.0001364/0.08991, allocations: 206.2 kB / 392.6 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.08995, allocations: 55.95 kB / 392.7 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.08999, allocations: 49.72 kB / 392.7 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.08999, allocations: 0 / 392.7 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.08999, allocations: 0 / 392.7 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.08999, allocations: 4 kB / 392.7 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.09012, allocations: 190 kB / 392.9 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.09012, allocations: 0 / 392.9 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/0.09012, allocations: 4 kB / 392.9 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.09012, allocations: 0 / 392.9 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.09014, allocations: 15.97 kB / 392.9 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.09014, allocations: 1.312 kB / 392.9 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.09014, allocations: 7.938 kB / 392.9 MB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/0.09066, allocations: 0.8049 MB / 393.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.873e-05/0.09075, allocations: 87.47 kB / 393.8 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.09079, allocations: 12 kB / 393.8 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.719e-05/0.09084, allocations: 12 kB / 393.8 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.09085, allocations: 3.984 kB / 393.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.09087, allocations: 19.98 kB / 393.9 MB, free: 1.422 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.091, allocations: 224.6 kB / 394.1 MB, free: 1.203 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.091, allocations: 4.031 kB / 394.1 MB, free: 1.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009635/0.09196, allocations: 0.5962 MB / 394.7 MB, free: 0.6016 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.001823/0.09379, allocations: 1.357 MB / 396 MB, free: 15.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005343/0.09432, allocations: 0.7727 MB / 396.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.09433, allocations: 8.062 kB / 396.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.09459, allocations: 469.6 kB / 397.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.0949, allocations: 116.2 kB / 397.4 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007415/0.09564, allocations: 0.9533 MB / 398.3 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.589e-05/0.09572, allocations: 139.2 kB / 398.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.842e-05/0.09575, allocations: 8 kB / 398.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.09602, allocations: 181.2 kB / 398.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.09602, allocations: 0 / 398.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of Templates: time 0.02145/0.1175, allocations: 23.02 MB / 421.7 MB, free: 5.754 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.2314793281257153]