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.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.000807/0.000807, allocations: 73.97 kB / 20.65 MB, free: 3.844 MB / 18.57 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.0009574/0.0009574, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9953/0.9953, allocations: 177.2 MB / 204.5 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.009178/0.009178, allocations: 1.981 MB / 263 MB, free: 10.88 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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: translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 333.6 MB, free: 16.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.245e-05, allocations: 6.312 kB / 333.6 MB, free: 16.63 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.006145/0.006168, allocations: 9.131 MB / 342.7 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004001/0.01017, allocations: 8.514 MB / 351.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.01029, allocations: 0 / 351.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004533/0.01074, allocations: 135 kB / 351.4 MB, free: 14.78 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.01103, allocations: 115.1 kB / 351.5 MB, free: 14.67 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.01433, allocations: 1.498 MB / 353 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.01464, allocations: 294.5 kB / 353.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.01469, allocations: 9.812 kB / 353.3 MB, free: 12.86 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.5546/0.5693, allocations: 21.41 MB / 374.7 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.5695, allocations: 71.8 kB / 374.8 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.5695, allocations: 8 kB / 374.8 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.5709, allocations: 475.6 kB / 375.2 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.902e-05/0.571, allocations: 31.83 kB / 375.3 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.046e-05/0.5711, allocations: 63.84 kB / 375.3 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.5722, allocations: 486.7 kB / 375.8 MB, free: 8.406 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5722, allocations: 0 / 375.8 MB, free: 8.406 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5722, allocations: 0 / 375.8 MB, free: 8.406 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.5722, allocations: 4 kB / 375.8 MB, free: 8.402 MB / 298.7 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.0007195/0.5729, allocations: 0.5849 MB / 376.4 MB, free: 7.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.573, allocations: 8.031 kB / 376.4 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.5733, allocations: 88.56 kB / 376.5 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.5735, allocations: 160.2 kB / 376.7 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.5735, allocations: 8.375 kB / 376.7 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.5735, allocations: 12.38 kB / 376.7 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.5739, allocations: 244.5 kB / 376.9 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5739, allocations: 4 kB / 376.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.5739, allocations: 4 kB / 376.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.574, allocations: 11.98 kB / 376.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.5742, allocations: 93.34 kB / 377 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.5748, allocations: 0.6643 MB / 377.7 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.5751, allocations: 130.9 kB / 377.8 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/0.5751, allocations: 51.67 kB / 377.9 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.5753, allocations: 103.9 kB / 378 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.5753, allocations: 37.39 kB / 378 MB, free: 6.055 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.394e-06/0.5753, allocations: 0 / 378 MB, free: 6.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001586/0.5769, allocations: 0.8305 MB / 378.8 MB, free: 5.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.5769, allocations: 63.39 kB / 378.9 MB, free: 5.113 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/0.577, allocations: 185.8 kB / 379.1 MB, free: 4.914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.577, allocations: 33.64 kB / 379.1 MB, free: 4.875 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.5771, allocations: 155.7 kB / 379.3 MB, free: 4.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.683e-05/0.5772, allocations: 162.6 kB / 379.4 MB, free: 4.559 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.569e-05/0.5773, allocations: 71.27 kB / 379.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5774, allocations: 0.5118 MB / 380 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.5775, allocations: 36.48 kB / 380 MB, free: 3.922 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.5776, allocations: 132.7 kB / 380.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.5778, allocations: 205.7 kB / 380.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5778, allocations: 4 kB / 380.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005823/0.5784, allocations: 337.8 kB / 380.7 MB, free: 3.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.5784, allocations: 4 kB / 380.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.5784, allocations: 4 kB / 380.7 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004338/0.5788, allocations: 127.7 kB / 380.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.428e-05/0.5789, allocations: 31.92 kB / 380.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004933/0.5794, allocations: 0.878 MB / 381.7 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.891e-05/0.5795, allocations: 12 kB / 381.8 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.5795, allocations: 11.94 kB / 381.8 MB, free: 2.082 MB / 298.7 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.0001066/0.5797, allocations: 172.5 kB / 381.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.5797, allocations: 27.86 kB / 382 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.5797, allocations: 22.27 kB / 382 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.5798, allocations: 8 kB / 382 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5798, allocations: 0 / 382 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5798, allocations: 3.984 kB / 382 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.58, allocations: 181.9 kB / 382.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.58, allocations: 0 / 382.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.5801, allocations: 35.98 kB / 382.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002557/0.5804, allocations: 67.59 kB / 382.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.5804, allocations: 8 kB / 382.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.5814, allocations: 1.87 MB / 384.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5814, allocations: 4.125 kB / 384.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.582, allocations: 0.5031 MB / 384.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.582, allocations: 23.84 kB / 384.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.582, allocations: 4 kB / 384.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.5821, allocations: 11.94 kB / 384.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.5822, allocations: 23.95 kB / 384.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.5822, allocations: 8 kB / 384.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.44e-05/0.5823, allocations: 131.2 kB / 384.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5823, allocations: 0 / 384.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003385/0.5826, allocations: 67.94 kB / 384.9 MB, free: 14.72 MB / 314.7 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.0003507/0.5829, allocations: 184.5 kB / 385.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.5833, allocations: 208 kB / 385.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5833, allocations: 0 / 385.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.5837, allocations: 287.5 kB / 385.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.5842, allocations: 108.3 kB / 385.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.5852, allocations: 0.5361 MB / 386.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.153e-05/0.5853, allocations: 85.31 kB / 386.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000178/0.5855, allocations: 105.3 kB / 386.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.5857, allocations: 146.1 kB / 386.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of SimCode: time 6.22e-07/0.5857, allocations: 0 / 386.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of Templates: time 0.00958/0.5953, allocations: 6.274 MB / 392.8 MB, free: 6.727 MB / 314.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.makefile [Timeout 660] (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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.285650385078043]