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.001973/0.001973, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.002008/0.002008, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 178] 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.01869/0.01869, allocations: 1.992 MB / 261.6 MB, free: 10.97 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 2.054e-06/2.054e-06, allocations: 0 / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.96e-05/3.165e-05, allocations: 2.312 kB / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.008417/0.008448, allocations: 9.197 MB / 340.8 MB, free: 8.027 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006148/0.0146, allocations: 8.678 MB / 349.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.01477, allocations: 4 kB / 349.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006187/0.01539, allocations: 139 kB / 349.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004686/0.01585, allocations: 107.2 kB / 349.8 MB, free: 15.07 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.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.004486/0.02034, allocations: 1.494 MB / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000513/0.02085, allocations: 274.6 kB / 351.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.02091, allocations: 13.8 kB / 351.5 MB, free: 13.29 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.8093/0.8302, allocations: 21.5 MB / 373 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.8304, allocations: 75.8 kB / 373.1 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.8305, allocations: 8 kB / 373.1 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.832, allocations: 463.7 kB / 373.6 MB, free: 9.301 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.217e-05/0.8321, allocations: 39.83 kB / 373.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.8322, allocations: 59.84 kB / 373.7 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.8336, allocations: 0.5259 MB / 374.2 MB, free: 8.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8336, allocations: 3.938 kB / 374.2 MB, free: 8.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.8336, allocations: 0 / 374.2 MB, free: 8.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.8336, allocations: 0 / 374.2 MB, free: 8.672 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.0009649/0.8346, allocations: 0.5924 MB / 374.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.8346, allocations: 12.03 kB / 374.8 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003908/0.835, allocations: 88.56 kB / 374.9 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.8352, allocations: 156.3 kB / 375 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.8353, allocations: 8.375 kB / 375.1 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.8353, allocations: 12.38 kB / 375.1 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.8358, allocations: 259.8 kB / 375.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.8359, allocations: 0 / 375.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.8359, allocations: 8 kB / 375.3 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.8359, allocations: 8 kB / 375.3 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.8363, allocations: 148.3 kB / 375.5 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.8373, allocations: 0.7154 MB / 376.2 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.8378, allocations: 158.9 kB / 376.4 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.838, allocations: 75.66 kB / 376.4 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.8382, allocations: 99.92 kB / 376.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.8382, allocations: 41.39 kB / 376.6 MB, free: 6.148 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.343e-06/0.8382, allocations: 4 kB / 376.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.002666/0.8409, allocations: 0.9789 MB / 377.5 MB, free: 5.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.8409, allocations: 55.41 kB / 377.6 MB, free: 5.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.8411, allocations: 205.8 kB / 377.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.8411, allocations: 33.7 kB / 377.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.8413, allocations: 155.7 kB / 378 MB, free: 4.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.8414, allocations: 166.6 kB / 378.1 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.8415, allocations: 71.36 kB / 378.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002846/0.8418, allocations: 0.5118 MB / 378.7 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.842, allocations: 76.47 kB / 378.8 MB, free: 3.805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.8423, allocations: 172.7 kB / 379 MB, free: 3.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.8428, allocations: 285.6 kB / 379.3 MB, free: 3.297 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8428, allocations: 0 / 379.3 MB, free: 3.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001084/0.8439, allocations: 421.7 kB / 379.7 MB, free: 2.875 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.8439, allocations: 4 kB / 379.7 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.8439, allocations: 4 kB / 379.7 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007932/0.8447, allocations: 151.7 kB / 379.8 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.8448, allocations: 35.92 kB / 379.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009122/0.8457, allocations: 0.9285 MB / 380.8 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.8459, allocations: 11.94 kB / 380.8 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.8459, allocations: 12 kB / 380.8 MB, free: 1.699 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.0001698/0.8461, allocations: 172.6 kB / 381 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.8461, allocations: 31.8 kB / 381 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.896e-05/0.8462, allocations: 26.27 kB / 381 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.8462, allocations: 8 kB / 381 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.8462, allocations: 0 / 381 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.8462, allocations: 11.95 kB / 381.1 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.8466, allocations: 205.3 kB / 381.3 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.8466, allocations: 0 / 381.3 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.8467, allocations: 39.97 kB / 381.3 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/0.8471, allocations: 75.59 kB / 381.4 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.8472, allocations: 4 kB / 381.4 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.8491, allocations: 1.959 MB / 383.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8491, allocations: 0 / 383.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.8501, allocations: 0.6086 MB / 383.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.8502, allocations: 23.8 kB / 384 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.8502, allocations: 4 kB / 384 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.8503, allocations: 7.984 kB / 384 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.8504, allocations: 23.91 kB / 384 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.8504, allocations: 15.92 kB / 384 MB, free: 14.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.8505, allocations: 139.2 kB / 384.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.8505, allocations: 4 kB / 384.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003483/0.8509, allocations: 60 kB / 384.2 MB, free: 14.07 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.0005066/0.8514, allocations: 187.9 kB / 384.4 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007616/0.8522, allocations: 276.3 kB / 384.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.8522, allocations: 4 kB / 384.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006434/0.8528, allocations: 323.4 kB / 385 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007261/0.8535, allocations: 103.7 kB / 385.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.8546, allocations: 0.5405 MB / 385.6 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.8547, allocations: 125.6 kB / 385.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.855, allocations: 117.3 kB / 385.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.855, allocations: 20.5 kB / 385.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.855, allocations: 0 / 385.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of Templates: time 0.01236/0.8674, allocations: 5.472 MB / 391.4 MB, free: 6.848 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: 9.52582815499045]