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.0006868/0.0006868, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008676/0.001554, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006899/0.0006899, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008138/0.001504, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9024/0.9024, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08039/0.9828, allocations: 53.67 MB / 243.2 MB, free: 15.57 MB / 250.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.01327/0.01327, allocations: 1.981 MB / 245.9 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003245/0.01652, allocations: 1.237 MB / 247.2 MB, free: 11.63 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.914e-06/1.914e-06, allocations: 0 / 248.5 MB, free: 10.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.788e-05, allocations: 6.25 kB / 248.5 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.01177/0.0118, allocations: 9.228 MB / 257.7 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006657/0.01846, allocations: 8.591 MB / 266.3 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.01856, allocations: 4 kB / 266.3 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.01888, allocations: 143.1 kB / 266.4 MB, free: 8.289 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.01912, allocations: 99.22 kB / 266.5 MB, free: 8.191 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.CO2CoolProp.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.0214, allocations: 1.517 MB / 268.1 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.02167, allocations: 290.5 kB / 268.3 MB, free: 6.379 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.02171, allocations: 14.44 kB / 268.4 MB, free: 6.367 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.6245/0.6462, allocations: 21.46 MB / 289.8 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.6463, allocations: 68.78 kB / 289.9 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.6464, allocations: 11.28 kB / 289.9 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.6475, allocations: 483.9 kB / 290.4 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.6475, allocations: 22.83 kB / 290.4 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.6476, allocations: 50.47 kB / 290.4 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007949/0.6484, allocations: 469.8 kB / 290.9 MB, free: 4.582 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.605e-05/0.6484, allocations: 0.5156 kB / 290.9 MB, free: 4.582 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6484, allocations: 0 / 290.9 MB, free: 4.582 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.6484, allocations: 1.375 kB / 290.9 MB, free: 4.582 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.0006335/0.6491, allocations: 0.5953 MB / 291.5 MB, free: 4.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.6491, allocations: 13.62 kB / 291.5 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.6493, allocations: 100.3 kB / 291.6 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.6495, allocations: 143.5 kB / 291.8 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.6495, allocations: 8.406 kB / 291.8 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.6495, allocations: 12.16 kB / 291.8 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.6498, allocations: 246.2 kB / 292 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.6498, allocations: 0 / 292 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.6498, allocations: 15.73 kB / 292 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.6498, allocations: 8.688 kB / 292 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.65, allocations: 96.81 kB / 292.1 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.6503, allocations: 487 kB / 292.6 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.6506, allocations: 169.5 kB / 292.8 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.565e-05/0.6506, allocations: 46.19 kB / 292.8 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.6507, allocations: 99.06 kB / 292.9 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.6507, allocations: 32.52 kB / 292.9 MB, free: 3.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.332e-06/0.6507, allocations: 0 / 292.9 MB, free: 3.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001252/0.652, allocations: 0.8101 MB / 293.8 MB, free: 3.191 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.415e-05/0.652, allocations: 62.16 kB / 293.8 MB, free: 3.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.6521, allocations: 144.5 kB / 294 MB, free: 3.004 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.6521, allocations: 30.89 kB / 294 MB, free: 2.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.6521, allocations: 102.2 kB / 294.1 MB, free: 2.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.6522, allocations: 164.8 kB / 294.2 MB, free: 2.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.6522, allocations: 58.31 kB / 294.3 MB, free: 2.754 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.314e-05/0.6522, allocations: 335.1 kB / 294.6 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.635e-05/0.6523, allocations: 40.86 kB / 294.7 MB, free: 2.438 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.6524, allocations: 107.7 kB / 294.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.6525, allocations: 183.4 kB / 295 MB, free: 2.305 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6525, allocations: 3.516 kB / 295 MB, free: 2.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003391/0.6528, allocations: 287 kB / 295.2 MB, free: 2.246 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.6528, allocations: 3.719 kB / 295.2 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6528, allocations: 8.234 kB / 295.3 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/0.6531, allocations: 127.5 kB / 295.4 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.364e-05/0.6532, allocations: 32.28 kB / 295.4 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002227/0.6534, allocations: 0.5879 MB / 296 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.094e-05/0.6535, allocations: 17.66 kB / 296 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.6535, allocations: 4.594 kB / 296 MB, free: 1.707 MB / 266.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 5.6e-05/0.6536, allocations: 131.7 kB / 296.1 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.6536, allocations: 14.64 kB / 296.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.6536, allocations: 20.72 kB / 296.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.6536, allocations: 13.33 kB / 296.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.6536, allocations: 0 / 296.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6536, allocations: 5.203 kB / 296.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.6538, allocations: 135.5 kB / 296.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6538, allocations: 0 / 296.3 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.6539, allocations: 52.8 kB / 296.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.6539, allocations: 19.39 kB / 296.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002126/0.6541, allocations: 93.8 kB / 296.5 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.6541, allocations: 8.703 kB / 296.5 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001097/0.6542, allocations: 0.5216 MB / 297 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6542, allocations: 0.6562 kB / 297 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.6545, allocations: 421.3 kB / 297.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.6545, allocations: 3.938 kB / 297.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.6546, allocations: 13.03 kB / 297.5 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.6546, allocations: 25.16 kB / 297.5 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.6546, allocations: 5.812 kB / 297.5 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.534e-05/0.6547, allocations: 21.03 kB / 297.5 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6547, allocations: 0 / 297.5 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.6548, allocations: 65.83 kB / 297.6 MB, free: 0.7344 MB / 266.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.0003046/0.6551, allocations: 180.1 kB / 297.7 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.6554, allocations: 183.1 kB / 297.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/0.6554, allocations: 4.141 kB / 297.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.6556, allocations: 124.2 kB / 298 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.6559, allocations: 121.1 kB / 298.2 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.6587, allocations: 0.5011 MB / 298.7 MB, free: 332 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.722e-05/0.6588, allocations: 86.98 kB / 298.8 MB, free: 256 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.6589, allocations: 97.02 kB / 298.8 MB, free: 244 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.659, allocations: 124.8 kB / 299 MB, free: 184 kB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.659, allocations: 0 / 299 MB, free: 184 kB / 266.7 MB Notification: Performance of Templates: time 0.006782/0.6658, allocations: 6.23 MB / 305.2 MB, free: 13.45 MB / 282.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: 5.941950190812349]