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.0006464/0.0006464, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000886/0.001532, allocations: 440 kB / 10.41 MB, free: 284 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.0008446/0.0008446, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008652/0.00171, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9705/0.9705, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1194/1.09, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.05999/0.05999, allocations: 11.73 MB / 255.9 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006157/0.06614, allocations: 3.092 MB / 259 MB, free: 0.6953 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.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.193e-06/1.193e-06, allocations: 0 / 260.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.075e-05, allocations: 6.25 kB / 260.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.EoSHelium): time 0.1695/0.1695, allocations: 58.07 MB / 318.3 MB, free: 9.152 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00517/0.1747, allocations: 5.292 MB / 323.6 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.468e-05/0.1748, allocations: 8 kB / 323.6 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007962/0.1756, allocations: 311.3 kB / 323.9 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.1758, allocations: 126.8 kB / 324.1 MB, free: 3.41 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.02452/0.2003, allocations: 8.841 MB / 332.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000334/0.2007, allocations: 233 kB / 333.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.2007, allocations: 6.344 kB / 333.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00033/0.201, allocations: 227.4 kB / 333.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.2012, allocations: 79.8 kB / 333.4 MB, free: 10.01 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.2012, allocations: 8 kB / 333.5 MB, free: 10 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01912/0.2203, allocations: 10.21 MB / 343.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.2205, allocations: 167.4 kB / 343.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.2206, allocations: 103.4 kB / 343.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.2332, allocations: 3.981 MB / 347.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.661e-05/0.2332, allocations: 0 / 347.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2332, allocations: 4 kB / 347.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.2332, allocations: 0 / 347.9 MB, free: 11.52 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.002538/0.2357, allocations: 2.179 MB / 350.1 MB, free: 9.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2358, allocations: 11.97 kB / 350.1 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/0.2361, allocations: 153 kB / 350.3 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.2364, allocations: 309.5 kB / 350.6 MB, free: 8.797 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.2364, allocations: 4 kB / 350.6 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.2365, allocations: 12 kB / 350.6 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.2367, allocations: 251.6 kB / 350.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2367, allocations: 0.5156 kB / 350.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.2367, allocations: 8 kB / 350.8 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2367, allocations: 0 / 350.8 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.2369, allocations: 153.6 kB / 351 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.237, allocations: 82.52 kB / 351.1 MB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.2371, allocations: 190.3 kB / 351.2 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.2373, allocations: 166.5 kB / 351.4 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.541e-06/0.2373, allocations: 3.938 kB / 351.4 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.805e-05/0.2373, allocations: 100.2 kB / 351.5 MB, free: 7.777 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.2373, allocations: 0 / 351.5 MB, free: 7.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.000661/0.238, allocations: 0.6292 MB / 352.1 MB, free: 7.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.2381, allocations: 266.1 kB / 352.4 MB, free: 6.828 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.2385, allocations: 0.5857 MB / 353 MB, free: 6.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2385, allocations: 29.7 kB / 353 MB, free: 6.195 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.479e-05/0.2385, allocations: 94.39 kB / 353.1 MB, free: 6.098 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.2386, allocations: 51.52 kB / 353.2 MB, free: 6.047 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.353e-05/0.2387, allocations: 129.2 kB / 353.3 MB, free: 5.914 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.2387, allocations: 318.8 kB / 353.6 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.2389, allocations: 168.4 kB / 353.8 MB, free: 5.422 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.239, allocations: 165.6 kB / 353.9 MB, free: 5.254 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.2392, allocations: 379.5 kB / 354.3 MB, free: 4.867 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2392, allocations: 0 / 354.3 MB, free: 4.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003208/0.2396, allocations: 404.9 kB / 354.7 MB, free: 4.453 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.609e-05/0.2396, allocations: 77.64 kB / 354.8 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2396, allocations: 7.984 kB / 354.8 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2397, allocations: 0 / 354.8 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-06/0.2397, allocations: 0 / 354.8 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.2397, allocations: 2.562 kB / 354.8 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.2398, allocations: 19.89 kB / 354.8 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.2398, allocations: 52.05 kB / 354.8 MB, free: 4.293 MB / 330.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.0001831/0.24, allocations: 218.7 kB / 355.1 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.2401, allocations: 67.88 kB / 355.1 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.2401, allocations: 64.06 kB / 355.2 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2401, allocations: 0 / 355.2 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.2401, allocations: 0 / 355.2 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2401, allocations: 0 / 355.2 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.2403, allocations: 221.5 kB / 355.4 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2403, allocations: 0 / 355.4 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-06/0.2403, allocations: 3.938 kB / 355.4 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006372/0.241, allocations: 201.2 kB / 355.6 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.241, allocations: 3.984 kB / 355.6 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.241, allocations: 19.92 kB / 355.6 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.241, allocations: 0 / 355.6 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.241, allocations: 0 / 355.6 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.2415, allocations: 0.5896 MB / 356.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/0.2416, allocations: 23.92 kB / 356.2 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.2417, allocations: 12 kB / 356.2 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.2417, allocations: 4.031 kB / 356.3 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.2417, allocations: 56.84 kB / 356.3 MB, free: 2.746 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.2419, allocations: 296.5 kB / 356.6 MB, free: 2.457 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2419, allocations: 0 / 356.6 MB, free: 2.457 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001256/0.2432, allocations: 0.5806 MB / 357.2 MB, free: 1.875 MB / 330.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.002258/0.2454, allocations: 1.392 MB / 358.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004747/0.2459, allocations: 0.5384 MB / 359.1 MB, free: 108 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.2459, allocations: 8 kB / 359.1 MB, free: 100 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.2462, allocations: 337.9 kB / 359.4 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.2466, allocations: 180.4 kB / 359.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009292/0.2475, allocations: 0.9825 MB / 360.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.775e-05/0.2476, allocations: 127.2 kB / 360.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.293e-05/0.2476, allocations: 4.609 kB / 360.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.2481, allocations: 253.2 kB / 361 MB, free: 14.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.562e-06/0.2481, allocations: 0 / 361 MB, free: 14.16 MB / 346.7 MB Notification: Performance of Templates: time 0.02402/0.2721, allocations: 22.48 MB / 383.5 MB, free: 7.699 MB / 362.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: 3.2913723001256585]