Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 197.7 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1161/0.1161, allocations: 2.762 MB / 293.1 MB, free: 3.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.89 kB / 354.4 MB, free: 4.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0923/0.09349, allocations: 50.22 MB / 404.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.009987/0.1035, allocations: 9 MB / 413.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006566/0.1101, allocations: 8.575 MB / 422.2 MB, free: 464 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1103, allocations: 0 / 422.2 MB, free: 464 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004398/0.1107, allocations: 167 kB / 422.4 MB, free: 296 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.111, allocations: 99.28 kB / 422.5 MB, free: 196 kB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.1655/0.2765, allocations: 1.448 MB / 423.9 MB, free: 36.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.2769, allocations: 270.6 kB / 424.2 MB, free: 36.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.935e-05/0.277, allocations: 12.03 kB / 424.2 MB, free: 36.19 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.08924/0.3663, allocations: 12.75 MB / 436.9 MB, free: 31.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.3665, allocations: 87.22 kB / 437 MB, free: 31.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.3666, allocations: 8.906 kB / 437 MB, free: 31.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.369, allocations: 481.9 kB / 437.5 MB, free: 31.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.943e-05/0.3691, allocations: 30.86 kB / 437.5 MB, free: 31.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.3693, allocations: 85.48 kB / 437.6 MB, free: 31.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002511/0.3719, allocations: 0.5066 MB / 438.1 MB, free: 31.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3719, allocations: 0 / 438.1 MB, free: 31.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3719, allocations: 0 / 438.1 MB, free: 31.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.3719, allocations: 0 / 438.1 MB, free: 31.5 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008726/0.3728, allocations: 0.5583 MB / 438.7 MB, free: 31.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3728, allocations: 13.62 kB / 438.7 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003794/0.3732, allocations: 51.92 kB / 438.7 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.3734, allocations: 205.1 kB / 438.9 MB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.3734, allocations: 11.2 kB / 439 MB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.3735, allocations: 12.5 kB / 439 MB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000506/0.374, allocations: 243.3 kB / 439.2 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.374, allocations: 0 / 439.2 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.374, allocations: 10.25 kB / 439.2 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.374, allocations: 6.781 kB / 439.2 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.3745, allocations: 199.3 kB / 439.4 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007351/0.3752, allocations: 0.685 MB / 440.1 MB, free: 30.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.3758, allocations: 226.3 kB / 440.3 MB, free: 30.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.376, allocations: 150 kB / 440.5 MB, free: 30.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.3763, allocations: 334.2 kB / 440.8 MB, free: 30 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3763, allocations: 35.94 kB / 440.8 MB, free: 29.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.3763, allocations: 0 / 440.8 MB, free: 29.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002917/0.3793, allocations: 1.213 MB / 442 MB, free: 29.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.3793, allocations: 58.34 kB / 442.1 MB, free: 29.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3794, allocations: 130.2 kB / 442.2 MB, free: 29.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3795, allocations: 29.27 kB / 442.3 MB, free: 29.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.3795, allocations: 113 kB / 442.4 MB, free: 29.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.501e-05/0.3796, allocations: 150.6 kB / 442.5 MB, free: 29.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.133e-05/0.3797, allocations: 57.69 kB / 442.6 MB, free: 29.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.3798, allocations: 329.1 kB / 442.9 MB, free: 28.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.38, allocations: 127.5 kB / 443 MB, free: 28.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.3803, allocations: 189 kB / 443.2 MB, free: 28.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/0.3808, allocations: 346.8 kB / 443.5 MB, free: 28.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3808, allocations: 0 / 443.5 MB, free: 28.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00107/0.3819, allocations: 484 kB / 444 MB, free: 28.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.382, allocations: 10.25 kB / 444 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.382, allocations: 3.938 kB / 444 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007175/0.3827, allocations: 152.1 kB / 444.2 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3828, allocations: 27.33 kB / 444.2 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005179/0.3834, allocations: 0.6576 MB / 444.9 MB, free: 28.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.3835, allocations: 9.438 kB / 444.9 MB, free: 28.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.3835, allocations: 13.22 kB / 444.9 MB, free: 28.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.3837, allocations: 131.8 kB / 445 MB, free: 28.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.3837, allocations: 23.89 kB / 445 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.3838, allocations: 17.78 kB / 445.1 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.3838, allocations: 18.45 kB / 445.1 MB, free: 28.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3838, allocations: 3.094 kB / 445.1 MB, free: 28.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3838, allocations: 7.375 kB / 445.1 MB, free: 28.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.3841, allocations: 290.2 kB / 445.4 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3841, allocations: 3.281 kB / 445.4 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.3843, allocations: 40.14 kB / 445.4 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003895/0.3847, allocations: 75.8 kB / 445.5 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.3848, allocations: 5.547 kB / 445.5 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.3864, allocations: 1.551 MB / 447 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3865, allocations: 4.094 kB / 447 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.3875, allocations: 0.6963 MB / 447.7 MB, free: 26.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.3876, allocations: 95.27 kB / 447.8 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.3876, allocations: 6.562 kB / 447.8 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.3878, allocations: 13.34 kB / 447.8 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.3878, allocations: 22.61 kB / 447.9 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.3879, allocations: 6.438 kB / 447.9 MB, free: 26.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.044e-05/0.3879, allocations: 101 kB / 448 MB, free: 25.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3879, allocations: 0 / 448 MB, free: 25.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003637/0.3883, allocations: 60.66 kB / 448 MB, free: 25.99 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003288/0.3886, allocations: 179.8 kB / 448.2 MB, free: 25.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007873/0.3894, allocations: 375.2 kB / 448.6 MB, free: 25.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3894, allocations: 4 kB / 448.6 MB, free: 25.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005727/0.39, allocations: 311.6 kB / 448.9 MB, free: 25.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006867/0.3907, allocations: 94.88 kB / 449 MB, free: 25.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.392, allocations: 0.6637 MB / 449.6 MB, free: 25.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3924, allocations: 0.738 MB / 450.4 MB, free: 24.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003104/0.3927, allocations: 109.7 kB / 450.5 MB, free: 24.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.3928, allocations: 20.78 kB / 450.5 MB, free: 24.68 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3928, allocations: 0 / 450.5 MB, free: 24.68 MB / 350.1 MB Notification: Performance of Templates: time 0.009345/0.4021, allocations: 5.203 MB / 455.7 MB, free: 24.24 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe 2>&1)