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.001051/0.001051, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001004/0.001004, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9821/0.9821, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.04475/0.04475, allocations: 11.38 MB / 270.6 MB, free: 2.559 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 1.944e-06/1.944e-06, allocations: 0 / 397.6 MB, free: 444 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.1e-05, allocations: 14.16 kB / 397.6 MB, free: 428 kB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.EoSHelium): time 0.2965/0.2965, allocations: 51.92 MB / 449.6 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003335/0.2999, allocations: 4.726 MB / 454.3 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.2999, allocations: 0 / 454.3 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006337/0.3006, allocations: 319.5 kB / 454.6 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.3007, allocations: 124.3 kB / 454.7 MB, free: 43.32 MB / 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.0193/0.32, allocations: 9.432 MB / 464.2 MB, free: 41.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.3204, allocations: 238.2 kB / 464.4 MB, free: 41.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/0.3204, allocations: 11.14 kB / 464.4 MB, free: 41.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.3207, allocations: 201.3 kB / 464.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.3208, allocations: 82.72 kB / 464.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.3208, allocations: 9.625 kB / 464.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01547/0.3363, allocations: 9.428 MB / 474.1 MB, free: 41.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.3364, allocations: 165.9 kB / 474.3 MB, free: 41.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.3366, allocations: 103.2 kB / 474.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007761/0.3444, allocations: 4.748 MB / 479.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3444, allocations: 0 / 479.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3444, allocations: 2.812 kB / 479.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3444, allocations: 0 / 479.1 MB, free: 41.05 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.001498/0.3459, allocations: 2.074 MB / 481.2 MB, free: 39.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.3459, allocations: 8.812 kB / 481.2 MB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.346, allocations: 47.73 kB / 481.3 MB, free: 39.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.3462, allocations: 97.22 kB / 481.4 MB, free: 39.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.3464, allocations: 320.4 kB / 481.7 MB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.3464, allocations: 3.062 kB / 481.7 MB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.3464, allocations: 6.156 kB / 481.7 MB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.3467, allocations: 304.3 kB / 482 MB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3467, allocations: 0 / 482 MB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.3468, allocations: 6.375 kB / 482 MB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3468, allocations: 0 / 482 MB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.3469, allocations: 219.8 kB / 482.2 MB, free: 39.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.3471, allocations: 333.2 kB / 482.5 MB, free: 39.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.3473, allocations: 235 kB / 482.8 MB, free: 39.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.3475, allocations: 227.2 kB / 483 MB, free: 38.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.3475, allocations: 3.438 kB / 483 MB, free: 38.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/0.3475, allocations: 97.69 kB / 483.1 MB, free: 38.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.262e-06/0.3475, allocations: 0 / 483.1 MB, free: 38.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009887/0.3485, allocations: 0.9005 MB / 484 MB, free: 38.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.3486, allocations: 120.8 kB / 484.1 MB, free: 38.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006521/0.3493, allocations: 0.7506 MB / 484.8 MB, free: 38.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.3493, allocations: 29.58 kB / 484.9 MB, free: 38.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.493e-05/0.3493, allocations: 84.09 kB / 485 MB, free: 37.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.3493, allocations: 69.5 kB / 485 MB, free: 37.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.3495, allocations: 149 kB / 485.2 MB, free: 37.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.3496, allocations: 324.6 kB / 485.5 MB, free: 37.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.3498, allocations: 212.1 kB / 485.7 MB, free: 37.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.35, allocations: 221 kB / 485.9 MB, free: 37.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.3505, allocations: 473.6 kB / 486.4 MB, free: 37.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3505, allocations: 0 / 486.4 MB, free: 37.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006812/0.3512, allocations: 0.5481 MB / 486.9 MB, free: 36.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.3513, allocations: 88.11 kB / 487 MB, free: 36.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3513, allocations: 3.094 kB / 487 MB, free: 36.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3513, allocations: 1.906 kB / 487 MB, free: 36.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.3513, allocations: 4.609 kB / 487 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3513, allocations: 0 / 487 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.3514, allocations: 21.78 kB / 487 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.833e-05/0.3515, allocations: 58.59 kB / 487.1 MB, free: 36.86 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.0003829/0.3519, allocations: 320.8 kB / 487.4 MB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-05/0.352, allocations: 90.06 kB / 487.5 MB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.184e-05/0.3521, allocations: 81.75 kB / 487.6 MB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3521, allocations: 3.125 kB / 487.6 MB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3521, allocations: 3.062 kB / 487.6 MB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3521, allocations: 0 / 487.6 MB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.3524, allocations: 377.5 kB / 487.9 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3524, allocations: 0 / 487.9 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.3524, allocations: 0 / 487.9 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3524, allocations: 4.938 kB / 488 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.3525, allocations: 33.45 kB / 488 MB, free: 36.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3525, allocations: 0.5625 kB / 488 MB, free: 36.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3525, allocations: 0 / 488 MB, free: 36.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008832/0.3534, allocations: 0.8302 MB / 488.8 MB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.3537, allocations: 227.8 kB / 489 MB, free: 35.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.3538, allocations: 25.8 kB / 489.1 MB, free: 35.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.3538, allocations: 12.7 kB / 489.1 MB, free: 35.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.3539, allocations: 3.828 kB / 489.1 MB, free: 35.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.787e-05/0.3539, allocations: 65.17 kB / 489.1 MB, free: 35.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004857/0.3544, allocations: 0.5182 MB / 489.7 MB, free: 35.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3544, allocations: 0 / 489.7 MB, free: 35.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001538/0.356, allocations: 0.5874 MB / 490.3 MB, free: 35.59 MB / 410.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.003496/0.3595, allocations: 2.514 MB / 492.8 MB, free: 34.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000837/0.3603, allocations: 0.6643 MB / 493.4 MB, free: 34.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3603, allocations: 0 / 493.4 MB, free: 34.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004046/0.3607, allocations: 397.3 kB / 493.8 MB, free: 33.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.3612, allocations: 109.1 kB / 493.9 MB, free: 33.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.3631, allocations: 1.485 MB / 495.4 MB, free: 33.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.3634, allocations: 282 kB / 495.7 MB, free: 33.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.95e-05/0.3634, allocations: 7.484 kB / 495.7 MB, free: 33.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.3635, allocations: 26.3 kB / 495.7 MB, free: 33.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3635, allocations: 0 / 495.7 MB, free: 33.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/0.466, allocations: 23.96 MB / 0.5075 GB, free: 21.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.433/8.899, allocations: 2.578 kB / 0.5075 GB, free: 21.28 MB / 410.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.308072443120182]