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.002104/0.002104, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.00279/0.00279, allocations: 218.3 kB / 22.25 MB, free: 3.586 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 1.784/1.784, allocations: 230.6 MB / 256 MB, free: 9.656 MB / 202.7 MB " [Timeout remaining time 178] 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.09158/0.09158, allocations: 14 MB / 326.4 MB, free: 4.641 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 0.003655/0.003655, allocations: 74.23 kB / 453.9 MB, free: 33.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1516, allocations: 55.95 MB / 0.4979 GB, free: 9.176 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.EoSAmmonia): time 0.07361/0.2252, allocations: 52.18 MB / 0.5489 GB, free: 4.809 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3968/0.622, allocations: 5.144 MB / 0.5539 GB, free: 5.207 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.6222, allocations: 5.75 kB / 0.5539 GB, free: 5.207 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.6235, allocations: 330.5 kB / 0.5542 GB, free: 5.207 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.6246, allocations: 466.9 kB / 0.5547 GB, free: 5.203 MB / 410.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.03381/0.6584, allocations: 9.695 MB / 0.5642 GB, free: 4.945 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006489/0.6591, allocations: 275.7 kB / 0.5644 GB, free: 4.945 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.708e-05/0.6591, allocations: 12.23 kB / 0.5644 GB, free: 4.941 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004856/0.6596, allocations: 177.6 kB / 0.5646 GB, free: 4.941 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.6599, allocations: 127.3 kB / 0.5647 GB, free: 4.934 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.6599, allocations: 12.78 kB / 0.5647 GB, free: 4.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03085/0.6908, allocations: 10.02 MB / 0.5745 GB, free: 4.871 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.691, allocations: 116.3 kB / 0.5746 GB, free: 4.871 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003547/0.6913, allocations: 141.5 kB / 0.5748 GB, free: 4.871 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02093/0.7122, allocations: 4.17 MB / 0.5788 GB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.7123, allocations: 0 / 0.5788 GB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.7123, allocations: 0 / 0.5788 GB, free: 4.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.335e-05/0.7123, allocations: 7.984 kB / 0.5788 GB, free: 4.152 MB / 410.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.003459/0.7157, allocations: 1.754 MB / 0.5806 GB, free: 2.992 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.7158, allocations: 9 kB / 0.5806 GB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000521/0.7163, allocations: 94.48 kB / 0.5807 GB, free: 2.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.7166, allocations: 279.7 kB / 0.5809 GB, free: 2.715 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.7166, allocations: 8.344 kB / 0.5809 GB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.7166, allocations: 4.688 kB / 0.5809 GB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/0.7172, allocations: 0.5358 MB / 0.5815 GB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.7172, allocations: 0 / 0.5815 GB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.7173, allocations: 2.688 kB / 0.5815 GB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.7173, allocations: 1.219 kB / 0.5815 GB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.7177, allocations: 464.2 kB / 0.5819 GB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.7181, allocations: 271.7 kB / 0.5822 GB, free: 2.277 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.7186, allocations: 493.5 kB / 0.5826 GB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/0.719, allocations: 471.5 kB / 0.5831 GB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.719, allocations: 0 / 0.5831 GB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.555e-05/0.7191, allocations: 100.2 kB / 0.5832 GB, free: 1.957 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 9.12e-07/0.7191, allocations: 0 / 0.5832 GB, free: 1.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.001762/0.7209, allocations: 1.589 MB / 0.5847 GB, free: 1.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.577e-05/0.7209, allocations: 120 kB / 0.5848 GB, free: 1.461 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006113/0.7216, allocations: 0.5921 MB / 0.5854 GB, free: 1.227 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.7216, allocations: 29.36 kB / 0.5854 GB, free: 1.195 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.7217, allocations: 252.5 kB / 0.5857 GB, free: 1.098 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.7218, allocations: 44.62 kB / 0.5857 GB, free: 1.066 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.7219, allocations: 63.7 kB / 0.5858 GB, free: 1.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.722, allocations: 378.2 kB / 0.5862 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.7225, allocations: 468.1 kB / 0.5866 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004693/0.723, allocations: 464.9 kB / 0.587 GB, free: 0.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008332/0.7238, allocations: 0.9459 MB / 0.588 GB, free: 304 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7238, allocations: 0 / 0.588 GB, free: 304 kB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001296/0.7251, allocations: 1.075 MB / 0.589 GB, free: 15.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.7252, allocations: 86.28 kB / 0.5891 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.7252, allocations: 0 / 0.5891 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.7252, allocations: 0 / 0.5891 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.7252, allocations: 0 / 0.5891 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.7252, allocations: 0 / 0.5891 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.7254, allocations: 23.48 kB / 0.5891 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.7255, allocations: 15.98 kB / 0.5891 GB, free: 15.49 MB / 426.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.000397/0.7259, allocations: 281.2 kB / 0.5894 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.726, allocations: 71.52 kB / 0.5895 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.86e-05/0.7261, allocations: 59.86 kB / 0.5895 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.7261, allocations: 4 kB / 0.5895 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7261, allocations: 0 / 0.5895 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.7261, allocations: 0 / 0.5895 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.7265, allocations: 300.3 kB / 0.5898 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.7265, allocations: 0 / 0.5898 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-06/0.7265, allocations: 4.875 kB / 0.5898 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7265, allocations: 0 / 0.5898 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.7265, allocations: 19.61 kB / 0.5898 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.7265, allocations: 3.984 kB / 0.5898 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7265, allocations: 0 / 0.5898 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.7283, allocations: 1.248 MB / 0.5911 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.7285, allocations: 100.9 kB / 0.5912 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.125e-05/0.7286, allocations: 19.12 kB / 0.5912 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.7288, allocations: 8 kB / 0.5912 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.7288, allocations: 3.938 kB / 0.5912 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.7288, allocations: 18.11 kB / 0.5912 GB, free: 13.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005618/0.7294, allocations: 422 kB / 0.5916 GB, free: 13.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7294, allocations: 0 / 0.5916 GB, free: 13.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002409/0.7318, allocations: 0.6091 MB / 0.5922 GB, free: 12.64 MB / 426.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.004719/0.7365, allocations: 1.17 MB / 0.5934 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.7382, allocations: 1.135 MB / 0.5945 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7382, allocations: 0 / 0.5945 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007781/0.739, allocations: 0.6204 MB / 0.5951 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/0.7397, allocations: 96.91 kB / 0.5952 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.7419, allocations: 1.221 MB / 0.5963 GB, free: 8.938 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.7422, allocations: 259.9 kB / 0.5966 GB, free: 8.664 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.151e-05/0.7422, allocations: 0.7031 kB / 0.5966 GB, free: 8.664 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.7423, allocations: 19.42 kB / 0.5966 GB, free: 8.645 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7423, allocations: 0 / 0.5966 GB, free: 8.645 MB / 426.7 MB Notification: Performance of Templates: time 0.03885/0.7811, allocations: 20.9 MB / 0.617 GB, free: 3.906 MB / 442.7 MB " [Timeout remaining time 659] 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: 7.153200500644743]