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.0009922/0.0009922, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001582/0.001582, allocations: 216.7 kB / 22.25 MB, free: 3.574 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.026/1.026, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.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.05172/0.05172, allocations: 14.02 MB / 326.5 MB, free: 4.602 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: "" <> buildModelFMU(HelmholtzMedia.Validation.Properties.EoSHelium,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Properties_EoSHelium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Properties.EoSHelium,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Properties_EoSHelium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 72.52 kB / 453.5 MB, free: 33.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1126, allocations: 55.95 MB / 0.4975 GB, free: 9.684 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.EoSHelium): time 0.03682/0.1495, allocations: 51.95 MB / 0.5482 GB, free: 5.531 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003612/0.1531, allocations: 4.748 MB / 0.5528 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.1531, allocations: 0 / 0.5528 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000734/0.1539, allocations: 307.4 kB / 0.5531 GB, free: 476 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.154, allocations: 111.9 kB / 0.5532 GB, free: 364 kB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 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.3228/0.4768, allocations: 9.26 MB / 0.5623 GB, free: 4.949 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004652/0.4773, allocations: 229.8 kB / 0.5625 GB, free: 4.949 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.469e-05/0.4773, allocations: 10.73 kB / 0.5625 GB, free: 4.945 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003693/0.4777, allocations: 179.2 kB / 0.5627 GB, free: 4.941 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.4779, allocations: 89.3 kB / 0.5628 GB, free: 4.941 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.478, allocations: 6.781 kB / 0.5628 GB, free: 4.941 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0224/0.5004, allocations: 9.367 MB / 0.5719 GB, free: 4.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.5006, allocations: 159.8 kB / 0.5721 GB, free: 4.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.5009, allocations: 173 kB / 0.5722 GB, free: 4.906 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.5115, allocations: 4.052 MB / 0.5762 GB, free: 4.684 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.5115, allocations: 3 kB / 0.5762 GB, free: 4.684 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5115, allocations: 1.969 kB / 0.5762 GB, free: 4.684 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.5115, allocations: 0 / 0.5762 GB, free: 4.684 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.002477/0.514, allocations: 2.047 MB / 0.5782 GB, free: 3.625 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.514, allocations: 8.5 kB / 0.5782 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.62e-05/0.5141, allocations: 46.97 kB / 0.5783 GB, free: 3.586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.5143, allocations: 105.2 kB / 0.5784 GB, free: 3.539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.5145, allocations: 312.7 kB / 0.5787 GB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.5145, allocations: 6.625 kB / 0.5787 GB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.5146, allocations: 8.75 kB / 0.5787 GB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.5149, allocations: 294.1 kB / 0.5789 GB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.5149, allocations: 2.469 kB / 0.5789 GB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.5149, allocations: 6.375 kB / 0.579 GB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5149, allocations: 0 / 0.579 GB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.5151, allocations: 215.6 kB / 0.5792 GB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.5154, allocations: 332.1 kB / 0.5795 GB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.5156, allocations: 225.5 kB / 0.5797 GB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.5157, allocations: 213.4 kB / 0.5799 GB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.5157, allocations: 4 kB / 0.5799 GB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/0.5158, allocations: 97.3 kB / 0.58 GB, free: 2.734 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.053e-06/0.5158, allocations: 0 / 0.58 GB, free: 2.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008296/0.5166, allocations: 0.8774 MB / 0.5808 GB, free: 2.457 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.5167, allocations: 122.1 kB / 0.581 GB, free: 2.352 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/0.5171, allocations: 0.7565 MB / 0.5817 GB, free: 2.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.5172, allocations: 28.77 kB / 0.5817 GB, free: 2.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.696e-05/0.5172, allocations: 82.47 kB / 0.5818 GB, free: 1.949 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.5172, allocations: 56.59 kB / 0.5819 GB, free: 1.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.5173, allocations: 153 kB / 0.582 GB, free: 1.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.19e-05/0.5174, allocations: 325 kB / 0.5823 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.5175, allocations: 207.6 kB / 0.5825 GB, free: 1.461 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.5177, allocations: 205.8 kB / 0.5827 GB, free: 1.402 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.518, allocations: 465.9 kB / 0.5832 GB, free: 1.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.518, allocations: 0 / 0.5832 GB, free: 1.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004424/0.5185, allocations: 0.5308 MB / 0.5837 GB, free: 1.102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.5185, allocations: 83.33 kB / 0.5838 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5185, allocations: 0 / 0.5838 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.5185, allocations: 3.938 kB / 0.5838 GB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.5185, allocations: 0 / 0.5838 GB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5186, allocations: 0 / 0.5838 GB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.383e-05/0.5186, allocations: 23.73 kB / 0.5838 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.854e-05/0.5187, allocations: 58.39 kB / 0.5838 GB, free: 1.035 MB / 410.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.0002528/0.519, allocations: 319.2 kB / 0.5841 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.519, allocations: 87.41 kB / 0.5842 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.5191, allocations: 86.84 kB / 0.5843 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5191, allocations: 3.938 kB / 0.5843 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.5191, allocations: 0 / 0.5843 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5191, allocations: 6.75 kB / 0.5843 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.5193, allocations: 378.7 kB / 0.5847 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5193, allocations: 0 / 0.5847 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/0.5193, allocations: 0 / 0.5847 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.5193, allocations: 0 / 0.5847 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.5193, allocations: 29.73 kB / 0.5847 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.5193, allocations: 3.781 kB / 0.5847 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5193, allocations: 0 / 0.5847 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.52, allocations: 0.793 MB / 0.5855 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.5203, allocations: 228.5 kB / 0.5857 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/0.5203, allocations: 20.88 kB / 0.5857 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.5204, allocations: 19.19 kB / 0.5857 GB, free: 140 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.5204, allocations: 9.047 kB / 0.5858 GB, free: 136 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.5205, allocations: 59.42 kB / 0.5858 GB, free: 132 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004001/0.5209, allocations: 0.5183 MB / 0.5863 GB, free: 15.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5209, allocations: 0 / 0.5863 GB, free: 15.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001244/0.5221, allocations: 0.5874 MB / 0.5869 GB, free: 15.83 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: 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.002889/0.525, allocations: 2.385 MB / 0.5892 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006117/0.5256, allocations: 0.6612 MB / 0.5899 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5256, allocations: 0 / 0.5899 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.5259, allocations: 381 kB / 0.5902 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.5263, allocations: 111.9 kB / 0.5903 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.5279, allocations: 1.478 MB / 0.5918 GB, free: 13.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.5281, allocations: 278.5 kB / 0.592 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.117e-05/0.5282, allocations: 5.547 kB / 0.592 GB, free: 12.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.5282, allocations: 29.98 kB / 0.5921 GB, free: 12.92 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5282, allocations: 0 / 0.5921 GB, free: 12.92 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/0.64, allocations: 23.88 MB / 0.6154 GB, free: 5.184 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/9.092, allocations: 4.062 kB / 0.6154 GB, free: 5.18 MB / 442.7 MB " [Timeout remaining time 651] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Validation_Properties_EoSHelium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../HelmholtzMedia_HelmholtzMedia_Validation_Properties_EoSHelium.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium.pipe 2>&1) [Timeout 52.5] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium_fmpy.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium_fmpy.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../HelmholtzMedia_HelmholtzMedia_Validation_Properties_EoSHelium.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSHelium_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.642485127784312]