Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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.0009738/0.0009738, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009756/0.0009756, allocations: 181 kB / 23.36 MB, free: 1.133 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.9606/0.9606, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.008582/0.008582, allocations: 2 MB / 262.3 MB, free: 10.95 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_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 279.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.43e-05, allocations: 2.312 kB / 279.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.0144/0.01442, allocations: 9.224 MB / 288.8 MB, free: 328 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1262/0.1406, allocations: 8.576 MB / 297.4 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.1408, allocations: 9.156 kB / 297.4 MB, free: 17.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.1413, allocations: 135.3 kB / 297.6 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.1417, allocations: 113.5 kB / 297.7 MB, free: 17.16 MB / 266.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.CO2CoolPropTabular.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.004679/0.1464, allocations: 1.5 MB / 299.2 MB, free: 16.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004615/0.1468, allocations: 288.3 kB / 299.4 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.78e-05/0.1469, allocations: 17.84 kB / 299.5 MB, free: 16.24 MB / 266.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.7274/0.8743, allocations: 21.75 MB / 321.2 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.8745, allocations: 67.73 kB / 321.3 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.8746, allocations: 8 kB / 321.3 MB, free: 2.746 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.8761, allocations: 485.2 kB / 321.8 MB, free: 2.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.527e-05/0.8762, allocations: 33.2 kB / 321.8 MB, free: 2.289 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.8763, allocations: 63.84 kB / 321.9 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.8773, allocations: 490.7 kB / 322.3 MB, free: 1.746 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.8773, allocations: 0 / 322.3 MB, free: 1.746 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.8773, allocations: 0 / 322.3 MB, free: 1.746 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.8773, allocations: 0 / 322.3 MB, free: 1.746 MB / 266.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.0005543/0.8779, allocations: 464.8 kB / 322.8 MB, free: 1.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.8779, allocations: 8.031 kB / 322.8 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.8782, allocations: 96.55 kB / 322.9 MB, free: 1.168 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.8783, allocations: 141.5 kB / 323 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.8783, allocations: 8.375 kB / 323 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.8784, allocations: 20.36 kB / 323.1 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.8786, allocations: 239.3 kB / 323.3 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.8786, allocations: 7.938 kB / 323.3 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.8787, allocations: 3.938 kB / 323.3 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.8787, allocations: 11.98 kB / 323.3 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.8788, allocations: 92.25 kB / 323.4 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.8792, allocations: 490.8 kB / 323.9 MB, free: 96 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.8795, allocations: 170.3 kB / 324 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.8796, allocations: 48.84 kB / 324.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.8797, allocations: 103.9 kB / 324.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.8797, allocations: 30.56 kB / 324.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 2.344e-06/0.8797, allocations: 3.938 kB / 324.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=47): time 0.00142/0.8811, allocations: 0.8124 MB / 325 MB, free: 14.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.8812, allocations: 55.34 kB / 325.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.261e-05/0.8813, allocations: 142.5 kB / 325.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.8813, allocations: 25.7 kB / 325.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.8813, allocations: 105 kB / 325.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.72e-05/0.8814, allocations: 170.5 kB / 325.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.8815, allocations: 57.66 kB / 325.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.8816, allocations: 334.8 kB / 325.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.294e-05/0.8816, allocations: 43.31 kB / 326 MB, free: 13.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.044e-05/0.8817, allocations: 104.9 kB / 326.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.8819, allocations: 195.4 kB / 326.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8819, allocations: 0 / 326.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004084/0.8823, allocations: 280.1 kB / 326.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.8823, allocations: 8.031 kB / 326.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.8823, allocations: 3.938 kB / 326.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00032/0.8826, allocations: 128.6 kB / 326.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-05/0.8827, allocations: 39.92 kB / 326.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003598/0.883, allocations: 0.5912 MB / 327.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.183e-05/0.8831, allocations: 8 kB / 327.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.8831, allocations: 4 kB / 327.3 MB, free: 12.48 MB / 282.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.883e-05/0.8832, allocations: 132.5 kB / 327.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.8833, allocations: 28.02 kB / 327.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.8833, allocations: 18.28 kB / 327.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.8833, allocations: 15.92 kB / 327.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.8833, allocations: 0 / 327.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8833, allocations: 0 / 327.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.8835, allocations: 134.3 kB / 327.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.8835, allocations: 0 / 327.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.8836, allocations: 47.91 kB / 327.7 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002272/0.8838, allocations: 84.75 kB / 327.8 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.8838, allocations: 7.984 kB / 327.8 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002025/0.884, allocations: 0.525 MB / 328.3 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.884, allocations: 8.047 kB / 328.3 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.8844, allocations: 412.9 kB / 328.7 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.8844, allocations: 19.86 kB / 328.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.8844, allocations: 7.984 kB / 328.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.8845, allocations: 4 kB / 328.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.8846, allocations: 19.91 kB / 328.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.8846, allocations: 11.98 kB / 328.8 MB, free: 10.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.175e-05/0.8846, allocations: 25.53 kB / 328.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.8846, allocations: 4.031 kB / 328.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.8848, allocations: 63.94 kB / 328.8 MB, free: 10.86 MB / 282.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003336/0.8851, allocations: 177.2 kB / 329 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.8854, allocations: 189.3 kB / 329.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8854, allocations: 0 / 329.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.8856, allocations: 122.6 kB / 329.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.8859, allocations: 108.1 kB / 329.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008892/0.8868, allocations: 0.5161 MB / 329.9 MB, free: 9.723 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.851e-05/0.8869, allocations: 89.25 kB / 330 MB, free: 9.609 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.887, allocations: 93.36 kB / 330.1 MB, free: 9.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.8872, allocations: 121.2 kB / 330.2 MB, free: 9.402 MB / 282.7 MB Notification: Performance of SimCode: time 6.72e-07/0.8872, allocations: 7.938 kB / 330.3 MB, free: 9.395 MB / 282.7 MB Notification: Performance of Templates: time 0.007553/0.8947, allocations: 6.031 MB / 336.3 MB, free: 3.352 MB / 282.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.196061877068132]