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.0008239/0.0008239, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003754/0.004578, 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.0008744/0.0008744, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.002011, 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.9373/0.9373, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07916/1.016, 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.079/0.079, allocations: 11.73 MB / 255.9 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004304/0.08331, allocations: 3.1 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.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 7.92e-07/7.92e-07, allocations: 0 / 260.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.898e-06/1.069e-05, allocations: 2.312 kB / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.EoSAmmonia): time 0.1458/0.1458, allocations: 59.13 MB / 319.4 MB, free: 8.082 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004336/0.1502, allocations: 5.864 MB / 325.3 MB, free: 2.199 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.1502, allocations: 4 kB / 325.3 MB, free: 2.195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.1508, allocations: 375.2 kB / 325.6 MB, free: 1.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004553/0.1512, allocations: 487.5 kB / 326.1 MB, free: 1.352 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.01703/0.1683, allocations: 10.34 MB / 336.5 MB, free: 6.984 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.1686, allocations: 296.9 kB / 336.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.1686, allocations: 6.344 kB / 336.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003545/0.169, allocations: 264.4 kB / 337 MB, free: 6.434 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1691, allocations: 103.8 kB / 337.1 MB, free: 6.332 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.1692, allocations: 8 kB / 337.1 MB, free: 6.324 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01633/0.1855, allocations: 11.23 MB / 348.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1856, allocations: 131.5 kB / 348.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.1857, allocations: 83.56 kB / 348.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00631/0.192, allocations: 4.087 MB / 352.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.24e-05/0.192, allocations: 4 kB / 352.7 MB, free: 6.777 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.192, allocations: 0 / 352.7 MB, free: 6.777 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.1921, allocations: 0 / 352.7 MB, free: 6.777 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.002116/0.1942, allocations: 2.02 MB / 354.7 MB, free: 4.719 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1942, allocations: 12.03 kB / 354.7 MB, free: 4.707 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/0.1946, allocations: 169 kB / 354.9 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.1948, allocations: 309.9 kB / 355.2 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1948, allocations: 4 kB / 355.2 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.1949, allocations: 7.938 kB / 355.2 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.1953, allocations: 372.4 kB / 355.5 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1953, allocations: 0 / 355.5 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1953, allocations: 0 / 355.5 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1953, allocations: 4 kB / 355.5 MB, free: 3.805 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.1956, allocations: 289.5 kB / 355.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.934e-05/0.1957, allocations: 81.08 kB / 355.9 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.1959, allocations: 312.1 kB / 356.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.1962, allocations: 299 kB / 356.5 MB, free: 2.801 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-06/0.1962, allocations: 5.672 kB / 356.5 MB, free: 2.797 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.152e-05/0.1962, allocations: 96.22 kB / 356.6 MB, free: 2.688 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 8.42e-07/0.1962, allocations: 0 / 356.6 MB, free: 2.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008453/0.1971, allocations: 0.9811 MB / 357.6 MB, free: 1.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.1972, allocations: 274 kB / 357.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.1975, allocations: 496.1 kB / 358.3 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1976, allocations: 29.7 kB / 358.4 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.1976, allocations: 150.5 kB / 358.5 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.1977, allocations: 51.62 kB / 358.6 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/0.1977, allocations: 53.64 kB / 358.6 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002966/0.198, allocations: 374.6 kB / 359 MB, free: 220 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.1983, allocations: 296.4 kB / 359.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.1985, allocations: 285.5 kB / 359.5 MB, free: 15.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.199, allocations: 0.607 MB / 360.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.199, allocations: 0 / 360.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005707/0.1996, allocations: 0.6684 MB / 360.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/0.1997, allocations: 85.56 kB / 360.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1997, allocations: 0 / 360.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1997, allocations: 8.031 kB / 360.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.515e-06/0.1997, allocations: 2.562 kB / 360.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.1997, allocations: 0 / 360.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.655e-05/0.1998, allocations: 15.89 kB / 360.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.1998, allocations: 11.98 kB / 360.9 MB, free: 14.2 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.0001568/0.2, allocations: 206.2 kB / 361.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.2, allocations: 51.95 kB / 361.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.2001, allocations: 53.67 kB / 361.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2001, allocations: 3.984 kB / 361.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.2001, allocations: 3.938 kB / 361.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.2001, allocations: 4 kB / 361.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.2002, allocations: 182.1 kB / 361.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2002, allocations: 0 / 361.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-07/0.2002, allocations: 0 / 361.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.2003, allocations: 79.53 kB / 361.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.2003, allocations: 0 / 361.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.2004, allocations: 27.91 kB / 361.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2004, allocations: 0 / 361.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2004, allocations: 4.609 kB / 361.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.2011, allocations: 0.8007 MB / 362.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.662e-05/0.2011, allocations: 15.94 kB / 362.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.2012, allocations: 8 kB / 362.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.2012, allocations: 8.797 kB / 362.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.2013, allocations: 15.98 kB / 362.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001745/0.2014, allocations: 228.6 kB / 362.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2014, allocations: 0 / 362.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009385/0.2024, allocations: 0.6001 MB / 363.2 MB, free: 11.85 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.002243/0.2046, allocations: 1.399 MB / 364.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006701/0.2053, allocations: 0.7727 MB / 365.4 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.2053, allocations: 8 kB / 365.4 MB, free: 9.832 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.2056, allocations: 468.6 kB / 365.9 MB, free: 9.355 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.2061, allocations: 154.1 kB / 366 MB, free: 9.215 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.2072, allocations: 0.9588 MB / 367 MB, free: 8.211 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.009e-05/0.2073, allocations: 139.2 kB / 367.1 MB, free: 8.055 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.977e-05/0.2073, allocations: 11.17 kB / 367.1 MB, free: 8.047 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.2076, allocations: 181.2 kB / 367.3 MB, free: 7.867 MB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2076, allocations: 0 / 367.3 MB, free: 7.867 MB / 346.7 MB Notification: Performance of Templates: time 0.02539/0.233, allocations: 22.94 MB / 390.2 MB, free: 1.059 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.2426122156903148]