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.001002/0.001002, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001062/0.001062, allocations: 169.7 kB / 23.28 MB, free: 1.219 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 0.9888/0.9888, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.007885/0.007885, allocations: 1.992 MB / 262.2 MB, free: 10.9 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.473e-06/1.473e-06, allocations: 0 / 332.8 MB, free: 1.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.277e-05, allocations: 2.312 kB / 332.8 MB, free: 1.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.009453/0.009476, allocations: 9.119 MB / 341.9 MB, free: 8.527 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006064/0.01554, allocations: 8.517 MB / 350.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.01571, allocations: 0 / 350.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004456/0.01615, allocations: 143 kB / 350.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.01645, allocations: 107.2 kB / 350.7 MB, free: 15.73 MB / 330.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.003377/0.01982, allocations: 1.501 MB / 352.2 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.02014, allocations: 290.5 kB / 352.5 MB, free: 13.94 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.02019, allocations: 5.812 kB / 352.5 MB, free: 13.93 MB / 330.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.5386/0.5587, allocations: 21.41 MB / 373.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.5589, allocations: 67.8 kB / 374 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.5589, allocations: 8 kB / 374 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.5601, allocations: 479.5 kB / 374.4 MB, free: 10 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.5602, allocations: 31.84 kB / 374.5 MB, free: 9.973 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.5602, allocations: 63.84 kB / 374.5 MB, free: 9.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006618/0.5609, allocations: 482.7 kB / 375 MB, free: 9.438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5609, allocations: 0 / 375 MB, free: 9.438 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5609, allocations: 0 / 375 MB, free: 9.438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.5609, allocations: 8 kB / 375 MB, free: 9.43 MB / 346.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.0005859/0.5615, allocations: 0.5925 MB / 375.6 MB, free: 8.801 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5615, allocations: 12.03 kB / 375.6 MB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.5617, allocations: 88.56 kB / 375.7 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.5619, allocations: 152.3 kB / 375.9 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.5619, allocations: 8.375 kB / 375.9 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.5619, allocations: 16.38 kB / 375.9 MB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.5622, allocations: 256.5 kB / 376.1 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.944e-06/0.5622, allocations: 0 / 376.1 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.5622, allocations: 8 kB / 376.1 MB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.5622, allocations: 7.984 kB / 376.1 MB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.5623, allocations: 93.34 kB / 376.2 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.5628, allocations: 0.6719 MB / 376.9 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.563, allocations: 130.9 kB / 377 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/0.5631, allocations: 51.67 kB / 377.1 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.5632, allocations: 107.9 kB / 377.2 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.5632, allocations: 37.39 kB / 377.2 MB, free: 7.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 1.332e-06/0.5632, allocations: 0 / 377.2 MB, free: 7.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=47): time 0.001157/0.5644, allocations: 0.8383 MB / 378.1 MB, free: 6.172 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.5644, allocations: 59.41 kB / 378.1 MB, free: 6.102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/0.5645, allocations: 185.9 kB / 378.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.5645, allocations: 29.64 kB / 378.3 MB, free: 5.867 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.5645, allocations: 159.6 kB / 378.5 MB, free: 5.707 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.438e-05/0.5646, allocations: 166.5 kB / 378.7 MB, free: 5.543 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.5647, allocations: 67.31 kB / 378.7 MB, free: 5.469 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.5648, allocations: 0.5118 MB / 379.2 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.51e-05/0.5648, allocations: 40.47 kB / 379.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.464e-05/0.5649, allocations: 124.7 kB / 379.4 MB, free: 4.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.5651, allocations: 205.6 kB / 379.6 MB, free: 4.527 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5651, allocations: 0 / 379.6 MB, free: 4.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004112/0.5655, allocations: 333.8 kB / 379.9 MB, free: 4.191 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5655, allocations: 8 kB / 379.9 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.5655, allocations: 0 / 379.9 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/0.5658, allocations: 139.7 kB / 380.1 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.5659, allocations: 31.92 kB / 380.1 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004065/0.5663, allocations: 0.8702 MB / 381 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.5664, allocations: 8 kB / 381 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.5664, allocations: 15.94 kB / 381 MB, free: 3.086 MB / 346.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 9.536e-05/0.5665, allocations: 176.5 kB / 381.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.5665, allocations: 19.91 kB / 381.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.5665, allocations: 30.27 kB / 381.2 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5666, allocations: 7.984 kB / 381.2 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.5666, allocations: 0 / 381.2 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5666, allocations: 0 / 381.2 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.5667, allocations: 178.1 kB / 381.4 MB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5667, allocations: 3.938 kB / 381.4 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.067e-05/0.5668, allocations: 39.97 kB / 381.4 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001835/0.567, allocations: 75.55 kB / 381.5 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.567, allocations: 3.984 kB / 381.5 MB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008398/0.5678, allocations: 1.85 MB / 383.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.5678, allocations: 128 / 383.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.5683, allocations: 0.538 MB / 383.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.5683, allocations: 11.91 kB / 383.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.5683, allocations: 4 kB / 383.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.5684, allocations: 11.94 kB / 383.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.5684, allocations: 23.95 kB / 383.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.5684, allocations: 4 kB / 384 MB, free: 15.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.532e-05/0.5685, allocations: 139.9 kB / 384.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.5685, allocations: 0 / 384.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.5687, allocations: 67.88 kB / 384.2 MB, free: 15.71 MB / 362.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.0002495/0.5689, allocations: 187.6 kB / 384.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.5692, allocations: 207.9 kB / 384.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5692, allocations: 0 / 384.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.5695, allocations: 287.8 kB / 384.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.5698, allocations: 112.4 kB / 384.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008038/0.5706, allocations: 0.5476 MB / 385.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.713e-05/0.5707, allocations: 85.31 kB / 385.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.5708, allocations: 97.3 kB / 385.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.571, allocations: 142.1 kB / 385.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.571, allocations: 4 kB / 385.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Templates: time 0.006877/0.5778, allocations: 6.165 MB / 392 MB, free: 7.812 MB / 362.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.114923446904868]