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.0009508/0.0009508, 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.0008733/0.0008733, 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 1.002/1.002, allocations: 177.2 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.04467/0.04467, allocations: 11.38 MB / 270.6 MB, free: 2.551 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.EoSAmmonia,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Properties_EoSAmmonia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Properties.EoSAmmonia,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Properties_EoSAmmonia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 397.6 MB, free: 424 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.426e-05, allocations: 3.969 kB / 397.7 MB, free: 420 kB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.EoSAmmonia): time 0.3025/0.3025, allocations: 52.16 MB / 449.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004189/0.3067, allocations: 5.152 MB / 455 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.3068, allocations: 4.984 kB / 455 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008955/0.3077, allocations: 335.8 kB / 455.3 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005441/0.3083, allocations: 465.4 kB / 455.7 MB, free: 43.31 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.02583/0.3341, allocations: 9.871 MB / 465.6 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005393/0.3346, allocations: 286.5 kB / 465.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.022e-05/0.3347, allocations: 8.875 kB / 465.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.3351, allocations: 218.7 kB / 466.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.3353, allocations: 115.7 kB / 466.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.3353, allocations: 7.25 kB / 466.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01625/0.3516, allocations: 10.09 MB / 476.3 MB, free: 41.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3517, allocations: 117.2 kB / 476.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.3518, allocations: 101.1 kB / 476.5 MB, free: 41.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008106/0.3599, allocations: 4.894 MB / 481.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3599, allocations: 4 kB / 481.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3599, allocations: 0 / 481.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.36, allocations: 0 / 481.4 MB, free: 40.54 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.001593/0.3615, allocations: 1.755 MB / 483.2 MB, free: 39.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.3616, allocations: 9.656 kB / 483.2 MB, free: 39.49 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.3617, allocations: 40.23 kB / 483.2 MB, free: 39.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003105/0.362, allocations: 99.67 kB / 483.3 MB, free: 39.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.3621, allocations: 278.6 kB / 483.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3622, allocations: 7.125 kB / 483.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.3622, allocations: 10.06 kB / 483.6 MB, free: 39.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.3628, allocations: 0.5286 MB / 484.2 MB, free: 39.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3628, allocations: 0 / 484.2 MB, free: 39.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.3628, allocations: 3 kB / 484.2 MB, free: 39.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3628, allocations: 0.5625 kB / 484.2 MB, free: 39.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006104/0.3634, allocations: 466.4 kB / 484.6 MB, free: 38.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.3637, allocations: 293.3 kB / 484.9 MB, free: 38.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005187/0.3642, allocations: 491.7 kB / 485.4 MB, free: 38.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.3647, allocations: 467.4 kB / 485.8 MB, free: 38.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.3647, allocations: 0 / 485.8 MB, free: 38.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.755e-05/0.3648, allocations: 97.8 kB / 485.9 MB, free: 38.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 2.364e-06/0.3648, allocations: 4 kB / 485.9 MB, free: 38.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.001842/0.3666, allocations: 1.588 MB / 487.5 MB, free: 38.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.3667, allocations: 118.3 kB / 487.6 MB, free: 38.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/0.3673, allocations: 0.5989 MB / 488.2 MB, free: 37.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3673, allocations: 28.23 kB / 488.3 MB, free: 37.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.3674, allocations: 252.2 kB / 488.5 MB, free: 37.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.3675, allocations: 46.45 kB / 488.6 MB, free: 37.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.96e-05/0.3676, allocations: 57.56 kB / 488.6 MB, free: 37.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3677, allocations: 373 kB / 489 MB, free: 37.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005206/0.3682, allocations: 465.6 kB / 489.4 MB, free: 37.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004778/0.3687, allocations: 478.9 kB / 489.9 MB, free: 36.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.3698, allocations: 0.9433 MB / 490.8 MB, free: 36.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3698, allocations: 1.094 kB / 490.8 MB, free: 36.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001278/0.3711, allocations: 1.071 MB / 491.9 MB, free: 36.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.441e-05/0.3712, allocations: 79.06 kB / 492 MB, free: 36.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.3712, allocations: 8.188 kB / 492 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3712, allocations: 0 / 492 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-06/0.3712, allocations: 1.891 kB / 492 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3712, allocations: 0 / 492 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.638e-05/0.3713, allocations: 20.08 kB / 492 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.3713, allocations: 13.67 kB / 492 MB, free: 36.45 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: 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.00028/0.3716, allocations: 276.1 kB / 492.3 MB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-05/0.3717, allocations: 76.12 kB / 492.4 MB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.3718, allocations: 57.62 kB / 492.4 MB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3718, allocations: 1.062 kB / 492.4 MB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.3718, allocations: 0.7969 kB / 492.4 MB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3718, allocations: 4.969 kB / 492.4 MB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.3721, allocations: 328.9 kB / 492.8 MB, free: 36.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3721, allocations: 0.7031 kB / 492.8 MB, free: 36.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-06/0.3721, allocations: 1.625 kB / 492.8 MB, free: 36.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3721, allocations: 0.6562 kB / 492.8 MB, free: 36.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.3722, allocations: 20.27 kB / 492.8 MB, free: 36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3722, allocations: 0 / 492.8 MB, free: 36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.3722, allocations: 2.312 kB / 492.8 MB, free: 36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.3739, allocations: 1.254 MB / 494 MB, free: 35.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.374, allocations: 105 kB / 494.1 MB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.3741, allocations: 15.02 kB / 494.2 MB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.274e-05/0.3742, allocations: 5.969 kB / 494.2 MB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.3742, allocations: 5.141 kB / 494.2 MB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.3742, allocations: 20.17 kB / 494.2 MB, free: 35.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004924/0.3747, allocations: 418 kB / 494.6 MB, free: 35.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3747, allocations: 0 / 494.6 MB, free: 35.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001673/0.3764, allocations: 0.6068 MB / 495.2 MB, free: 35.31 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: 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.003952/0.3804, allocations: 2.952 MB / 498.2 MB, free: 34.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.3815, allocations: 1.135 MB / 499.3 MB, free: 33.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.3816, allocations: 0 / 499.3 MB, free: 33.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005814/0.3821, allocations: 0.6179 MB / 499.9 MB, free: 33.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.3827, allocations: 111.4 kB / 0.4883 GB, free: 33.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006059/0.3887, allocations: 7.428 MB / 0.4956 GB, free: 30.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.3889, allocations: 256 kB / 0.4958 GB, free: 30.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.018e-05/0.389, allocations: 10.5 kB / 0.4958 GB, free: 30.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.591e-05/0.3891, allocations: 138.9 kB / 0.4959 GB, free: 30.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.3891, allocations: 3.219 kB / 0.4959 GB, free: 30.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09951/0.4886, allocations: 26.73 MB / 0.522 GB, free: 7.012 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/8.77, allocations: 15.83 kB / 0.5221 GB, free: 7 MB / 410.7 MB " [Timeout remaining time 651] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Validation_Properties_EoSAmmonia_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../HelmholtzMedia_HelmholtzMedia_Validation_Properties_EoSAmmonia.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia.pipe 2>&1) [Timeout 52.5] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia_fmpy.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia_fmpy.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia_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_EoSAmmonia.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Properties.EoSAmmonia_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.191326689906418]