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.001062/0.001062, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009675/0.0009675, allocations: 215.6 kB / 22.25 MB, free: 3.582 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.598 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.04612/0.04612, 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.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 0.001039/0.001039, allocations: 78.66 kB / 453.5 MB, free: 33.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1237, allocations: 55.96 MB / 0.4975 GB, free: 9.672 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.EoSAmmonia): time 0.03788/0.1615, allocations: 52.19 MB / 0.5484 GB, free: 5.293 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004219/0.1657, allocations: 5.153 MB / 0.5535 GB, free: 124 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1659, allocations: 0 / 0.5535 GB, free: 124 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.3298/0.4957, allocations: 325.6 kB / 0.5538 GB, free: 4.758 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.4968, allocations: 458.5 kB / 0.5542 GB, free: 4.758 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.02876/0.5255, allocations: 9.699 MB / 0.5637 GB, free: 4.516 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005074/0.526, allocations: 277.4 kB / 0.564 GB, free: 4.516 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.022e-05/0.5261, allocations: 12.86 kB / 0.564 GB, free: 4.512 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004227/0.5265, allocations: 179 kB / 0.5641 GB, free: 4.512 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.5267, allocations: 121.7 kB / 0.5643 GB, free: 4.504 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.5268, allocations: 15.88 kB / 0.5643 GB, free: 4.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02333/0.5501, allocations: 10.02 MB / 0.5741 GB, free: 4.441 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.5503, allocations: 116.8 kB / 0.5742 GB, free: 4.441 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003344/0.5506, allocations: 142.4 kB / 0.5743 GB, free: 4.441 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.5638, allocations: 4.173 MB / 0.5784 GB, free: 3.922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.5638, allocations: 0 / 0.5784 GB, free: 3.922 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.208e-06/0.5638, allocations: 4 kB / 0.5784 GB, free: 3.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.5638, allocations: 0 / 0.5784 GB, free: 3.918 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.00299/0.5668, allocations: 1.752 MB / 0.5801 GB, free: 2.758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.735e-05/0.5669, allocations: 11.97 kB / 0.5801 GB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.5669, allocations: 44.73 kB / 0.5801 GB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004327/0.5674, allocations: 94.73 kB / 0.5802 GB, free: 2.668 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.5676, allocations: 283 kB / 0.5805 GB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.5677, allocations: 4.625 kB / 0.5805 GB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.5677, allocations: 5.844 kB / 0.5805 GB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.5684, allocations: 0.5289 MB / 0.581 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.5684, allocations: 2.391 kB / 0.581 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.5684, allocations: 6.797 kB / 0.581 GB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.5684, allocations: 1.312 kB / 0.581 GB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/0.5689, allocations: 468.2 kB / 0.5815 GB, free: 2.168 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.5693, allocations: 290.4 kB / 0.5818 GB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/0.5699, allocations: 490.5 kB / 0.5822 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000468/0.5703, allocations: 466.9 kB / 0.5827 GB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.5703, allocations: 0 / 0.5827 GB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.645e-05/0.5704, allocations: 102.5 kB / 0.5828 GB, free: 1.645 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 2.224e-06/0.5704, allocations: 0 / 0.5828 GB, free: 1.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.001911/0.5723, allocations: 1.587 MB / 0.5843 GB, free: 1.258 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.5724, allocations: 117.7 kB / 0.5844 GB, free: 1.152 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006026/0.5731, allocations: 0.5952 MB / 0.585 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.5731, allocations: 28.7 kB / 0.5851 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.5733, allocations: 253.2 kB / 0.5853 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.5733, allocations: 47.81 kB / 0.5853 GB, free: 0.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.5734, allocations: 68.81 kB / 0.5854 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5736, allocations: 369.8 kB / 0.5858 GB, free: 396 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.574, allocations: 465.7 kB / 0.5862 GB, free: 296 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.5744, allocations: 471.2 kB / 0.5867 GB, free: 188 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.5754, allocations: 0.9507 MB / 0.5876 GB, free: 15.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5754, allocations: 0 / 0.5876 GB, free: 15.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009325/0.5764, allocations: 1.072 MB / 0.5886 GB, free: 15.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.156e-05/0.5764, allocations: 80.69 kB / 0.5887 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5764, allocations: 0 / 0.5887 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.5765, allocations: 0 / 0.5887 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.295e-06/0.5765, allocations: 1.125 kB / 0.5887 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5765, allocations: 4 kB / 0.5887 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.683e-05/0.5765, allocations: 15.83 kB / 0.5887 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.5766, allocations: 23.08 kB / 0.5887 GB, free: 15.47 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.0002096/0.5768, allocations: 279.1 kB / 0.589 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.5768, allocations: 67.58 kB / 0.5891 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.5769, allocations: 56.67 kB / 0.5891 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.5769, allocations: 0 / 0.5891 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5769, allocations: 0 / 0.5891 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5769, allocations: 7.875 kB / 0.5891 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.5771, allocations: 331 kB / 0.5895 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5771, allocations: 4 kB / 0.5895 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.5771, allocations: 0 / 0.5895 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5771, allocations: 3.094 kB / 0.5895 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.5772, allocations: 20.11 kB / 0.5895 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5772, allocations: 0 / 0.5895 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.5772, allocations: 0 / 0.5895 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009847/0.5782, allocations: 1.256 MB / 0.5907 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.5783, allocations: 107.2 kB / 0.5908 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.5783, allocations: 11.5 kB / 0.5908 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.788e-05/0.5784, allocations: 15.98 kB / 0.5908 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.5784, allocations: 7.562 kB / 0.5908 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.5784, allocations: 19.23 kB / 0.5909 GB, free: 13.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002824/0.5787, allocations: 418.2 kB / 0.5913 GB, free: 13.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5787, allocations: 0 / 0.5913 GB, free: 13.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001257/0.58, allocations: 0.6015 MB / 0.5918 GB, free: 12.59 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.003135/0.5831, allocations: 2.862 MB / 0.5946 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008489/0.584, allocations: 1.14 MB / 0.5958 GB, free: 9.152 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.584, allocations: 0 / 0.5958 GB, free: 9.152 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.5844, allocations: 0.6231 MB / 0.5964 GB, free: 8.602 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.5848, allocations: 105.2 kB / 0.5965 GB, free: 8.523 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00546/0.5903, allocations: 7.402 MB / 0.6037 GB, free: 1.383 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.5905, allocations: 253.8 kB / 0.6039 GB, free: 1.109 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.863e-05/0.5905, allocations: 7.969 kB / 0.6039 GB, free: 1.102 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.5906, allocations: 139.4 kB / 0.6041 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5906, allocations: 4 kB / 0.6041 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/0.6972, allocations: 26.51 MB / 0.63 GB, free: 6.648 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.616/9.313, allocations: 11.92 kB / 0.63 GB, free: 6.637 MB / 458.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.835428493097425]