Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Properties.idealGasLimit.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.00122/0.00122, 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.001415/0.001415, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.03/1.03, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.04428/0.04428, allocations: 11.38 MB / 270.6 MB, free: 2.57 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.idealGasLimit,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Properties_idealGasLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Properties.idealGasLimit,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Properties_idealGasLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 0 / 397.6 MB, free: 492 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.397e-05, allocations: 2.281 kB / 397.6 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Properties.idealGasLimit): time 0.2958/0.2958, allocations: 51.9 MB / 449.5 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.2994, allocations: 4.963 MB / 454.5 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.2994, allocations: 0 / 454.5 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009651/0.3004, allocations: 0.6346 MB / 455.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02049/0.3209, allocations: 9.658 MB / 464.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.13e-05/0.3209, allocations: 3.188 kB / 464.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.3211, allocations: 150 kB / 464.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.3211, allocations: 5.562 kB / 464.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.3213, allocations: 97.56 kB / 465 MB, free: 41.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.3213, allocations: 33.3 kB / 465.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.3213, allocations: 2.969 kB / 465.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01319/0.3345, allocations: 9.821 MB / 474.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.3345, allocations: 14.03 kB / 474.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.3346, allocations: 35.86 kB / 474.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006766/0.3414, allocations: 4.624 MB / 479.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3414, allocations: 3.031 kB / 479.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3414, allocations: 3.281 kB / 479.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3414, allocations: 0 / 479.6 MB, free: 40.99 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009768/0.3424, allocations: 0.8786 MB / 480.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.3424, allocations: 9.125 kB / 480.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.724e-05/0.3425, allocations: 45.53 kB / 480.5 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.3426, allocations: 36.81 kB / 480.5 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.167e-05/0.3427, allocations: 122.3 kB / 480.6 MB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3427, allocations: 10.75 kB / 480.7 MB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.3427, allocations: 10.09 kB / 480.7 MB, free: 40.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.343, allocations: 168.9 kB / 480.8 MB, free: 40.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.343, allocations: 0 / 480.8 MB, free: 40.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.343, allocations: 4 kB / 480.8 MB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.343, allocations: 6.094 kB / 480.8 MB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.3432, allocations: 210 kB / 481 MB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.3434, allocations: 242.5 kB / 481.3 MB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.3435, allocations: 167.9 kB / 481.4 MB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.826e-05/0.3436, allocations: 132.7 kB / 481.6 MB, free: 39.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004594/0.3482, allocations: 4.129 MB / 485.7 MB, free: 38.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.3482, allocations: 39.64 kB / 485.7 MB, free: 38.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.803e-06/0.3482, allocations: 0 / 485.7 MB, free: 38.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.0006665/0.3489, allocations: 491.3 kB / 486.2 MB, free: 38.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.3489, allocations: 56.69 kB / 486.3 MB, free: 38.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/0.349, allocations: 102.2 kB / 486.4 MB, free: 37.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.349, allocations: 25.7 kB / 486.4 MB, free: 37.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.144e-05/0.349, allocations: 86.77 kB / 486.5 MB, free: 37.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.319e-05/0.3491, allocations: 132.4 kB / 486.6 MB, free: 37.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.3492, allocations: 39.28 kB / 486.7 MB, free: 37.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.3492, allocations: 330.8 kB / 487 MB, free: 37.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.3493, allocations: 119.8 kB / 487.1 MB, free: 37.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3495, allocations: 135.2 kB / 487.2 MB, free: 37.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.3497, allocations: 277.4 kB / 487.5 MB, free: 37.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3497, allocations: 0 / 487.5 MB, free: 37.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003268/0.3501, allocations: 310.7 kB / 487.8 MB, free: 36.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.3501, allocations: 5.5 kB / 487.8 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.3501, allocations: 7.141 kB / 487.8 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.3501, allocations: 1.891 kB / 487.8 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3502, allocations: 27.78 kB / 487.8 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.3502, allocations: 6.109 kB / 487.9 MB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.755e-05/0.3503, allocations: 23.94 kB / 487.9 MB, free: 36.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.3503, allocations: 4.969 kB / 487.9 MB, free: 36.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.348e-05/0.3504, allocations: 119.8 kB / 488 MB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.3504, allocations: 13.41 kB / 488 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.3524, allocations: 2.438 MB / 490.4 MB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/0.3525, allocations: 15 kB / 490.5 MB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3525, allocations: 3.938 kB / 490.5 MB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3525, allocations: 1.969 kB / 490.5 MB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006665/0.3531, allocations: 0.9033 MB / 491.4 MB, free: 34.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/0.3532, allocations: 3.828 kB / 491.4 MB, free: 34.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-05/0.3532, allocations: 25.08 kB / 491.4 MB, free: 34.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3532, allocations: 1.062 kB / 491.4 MB, free: 34.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.3532, allocations: 6.859 kB / 491.4 MB, free: 34.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3532, allocations: 3.812 kB / 491.4 MB, free: 34.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3532, allocations: 5.094 kB / 491.4 MB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.3551, allocations: 2.429 MB / 493.8 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.3551, allocations: 63.64 kB / 493.9 MB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.3551, allocations: 1.75 kB / 493.9 MB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.962e-05/0.3552, allocations: 10.89 kB / 493.9 MB, free: 33.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.3552, allocations: 12.8 kB / 493.9 MB, free: 33.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3552, allocations: 4.25 kB / 493.9 MB, free: 33.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.572e-05/0.3553, allocations: 84.27 kB / 494 MB, free: 33.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3553, allocations: 3.094 kB / 494 MB, free: 33.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001572/0.3568, allocations: 0.5577 MB / 494.6 MB, free: 33.14 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: 2 ($cse2.sat.vap.phase,$cse2.sat.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.004402/0.3612, allocations: 3.962 MB / 498.5 MB, free: 30.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.3623, allocations: 1.122 MB / 499.7 MB, free: 30.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3623, allocations: 0 / 499.7 MB, free: 30.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007718/0.3631, allocations: 0.9601 MB / 0.4889 GB, free: 29.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.3636, allocations: 75.31 kB / 0.489 GB, free: 29.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.3659, allocations: 1.78 MB / 0.4907 GB, free: 29.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.3661, allocations: 196.8 kB / 0.4909 GB, free: 28.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.434e-05/0.3662, allocations: 16.09 kB / 0.4909 GB, free: 28.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3663, allocations: 91.42 kB / 0.491 GB, free: 28.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3663, allocations: 0 / 0.491 GB, free: 28.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/0.4682, allocations: 23.48 MB / 0.5139 GB, free: 15.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.631, allocations: 8.859 kB / 0.5139 GB, free: 15.23 MB / 410.7 MB " [Timeout remaining time 651] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Properties.idealGasLimit.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Properties.idealGasLimit.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Properties.idealGasLimit.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Properties.idealGasLimit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Validation_Properties_idealGasLimit_fmu --startTime=0 --stopTime=200 --stepSize=0.08 --timeout=50 --tolerance=1e-06 ../HelmholtzMedia_HelmholtzMedia_Validation_Properties_idealGasLimit.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Properties.idealGasLimit.pipe 2>&1) [Timeout 52.5] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Properties.idealGasLimit_fmpy.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Properties.idealGasLimit_fmpy.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Properties.idealGasLimit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Properties.idealGasLimit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../HelmholtzMedia_HelmholtzMedia.Validation.Properties.idealGasLimit_fmpy_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.08 ../HelmholtzMedia_HelmholtzMedia_Validation_Properties_idealGasLimit.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Properties.idealGasLimit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.109665470197797]