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.001316/0.001316, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001607/0.001607, allocations: 173 kB / 23.49 MB, free: 1.059 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.9755/0.9755, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.008256/0.008256, allocations: 1.999 MB / 262.3 MB, free: 11.14 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.933e-06/1.933e-06, allocations: 0 / 332.4 MB, free: 17.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.843e-05, allocations: 2.312 kB / 332.4 MB, free: 17.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.006894/0.006922, allocations: 9.255 MB / 341.6 MB, free: 7.945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004487/0.01141, allocations: 8.674 MB / 350.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.01153, allocations: 3.938 kB / 350.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000509/0.01204, allocations: 131.1 kB / 350.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.01236, allocations: 119.1 kB / 350.6 MB, free: 14.99 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.003299/0.01566, allocations: 1.486 MB / 352 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005192/0.01617, allocations: 282.5 kB / 352.3 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.353e-05/0.01623, allocations: 13.8 kB / 352.3 MB, free: 13.21 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.5482/0.5645, allocations: 21.48 MB / 373.8 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.5646, allocations: 71.78 kB / 373.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.5647, allocations: 12 kB / 373.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.5658, allocations: 475.6 kB / 374.4 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.597e-05/0.5658, allocations: 27.84 kB / 374.4 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.306e-05/0.5659, allocations: 63.84 kB / 374.4 MB, free: 9.152 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007135/0.5666, allocations: 486.6 kB / 374.9 MB, free: 8.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5666, allocations: 0 / 374.9 MB, free: 8.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5666, allocations: 7.938 kB / 374.9 MB, free: 8.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.5666, allocations: 0 / 374.9 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.0006303/0.5673, allocations: 0.5849 MB / 375.5 MB, free: 8.051 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.5673, allocations: 12.03 kB / 375.5 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.5676, allocations: 92.56 kB / 375.6 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.5677, allocations: 152.4 kB / 375.8 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.5678, allocations: 8.375 kB / 375.8 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.5678, allocations: 12.38 kB / 375.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.5681, allocations: 260.5 kB / 376 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.5681, allocations: 4 kB / 376 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.5681, allocations: 3.984 kB / 376 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.5681, allocations: 11.98 kB / 376.1 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.5683, allocations: 104.9 kB / 376.2 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.5689, allocations: 0.7027 MB / 376.9 MB, free: 6.598 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.5692, allocations: 139 kB / 377 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.331e-05/0.5692, allocations: 63.66 kB / 377.1 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.5694, allocations: 99.92 kB / 377.2 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.5694, allocations: 41.33 kB / 377.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.5694, allocations: 0 / 377.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001417/0.5708, allocations: 0.893 MB / 378.1 MB, free: 5.301 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.5708, allocations: 59.34 kB / 378.2 MB, free: 5.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.714e-05/0.5709, allocations: 189.9 kB / 378.3 MB, free: 5.027 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.5709, allocations: 29.7 kB / 378.4 MB, free: 4.992 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.571, allocations: 155.7 kB / 378.5 MB, free: 4.836 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/0.5711, allocations: 166.6 kB / 378.7 MB, free: 4.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.5711, allocations: 67.34 kB / 378.7 MB, free: 4.598 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5712, allocations: 0.5117 MB / 379.3 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.5713, allocations: 52.48 kB / 379.3 MB, free: 4.023 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.5714, allocations: 144.8 kB / 379.5 MB, free: 3.848 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.5716, allocations: 237.6 kB / 379.7 MB, free: 3.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5716, allocations: 0 / 379.7 MB, free: 3.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004916/0.5721, allocations: 357.8 kB / 380 MB, free: 3.227 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.5721, allocations: 8.188 kB / 380 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.5721, allocations: 4 kB / 380 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/0.5725, allocations: 139.5 kB / 380.2 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.5726, allocations: 31.98 kB / 380.2 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004143/0.573, allocations: 0.878 MB / 381.1 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.573, allocations: 15.92 kB / 381.1 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.5731, allocations: 8 kB / 381.1 MB, free: 2.109 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 8.612e-05/0.5731, allocations: 172.5 kB / 381.3 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.5732, allocations: 27.86 kB / 381.3 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.5732, allocations: 26.27 kB / 381.3 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.5732, allocations: 8 kB / 381.3 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.5732, allocations: 0 / 381.3 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.5732, allocations: 7.922 kB / 381.4 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.5734, allocations: 197.3 kB / 381.5 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5734, allocations: 0 / 381.5 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.909e-05/0.5735, allocations: 39.95 kB / 381.6 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002133/0.5737, allocations: 75.58 kB / 381.7 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.5737, allocations: 4 kB / 381.7 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.5747, allocations: 1.889 MB / 383.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5747, allocations: 0 / 383.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.5752, allocations: 0.5383 MB / 384.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.5752, allocations: 19.8 kB / 384.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.5752, allocations: 8 kB / 384.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.5753, allocations: 19.95 kB / 384.1 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.5754, allocations: 23.95 kB / 384.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.5754, allocations: 4 kB / 384.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.488e-05/0.5754, allocations: 139.2 kB / 384.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5754, allocations: 0 / 384.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.5757, allocations: 67.94 kB / 384.4 MB, free: 14.64 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.0002881/0.5759, allocations: 188.6 kB / 384.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.5763, allocations: 219.9 kB / 384.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5763, allocations: 0 / 384.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.5766, allocations: 299.8 kB / 385.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.577, allocations: 115 kB / 385.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009266/0.5779, allocations: 0.529 MB / 385.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.881e-05/0.578, allocations: 89.31 kB / 385.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.5781, allocations: 121.2 kB / 385.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.5782, allocations: 20.5 kB / 385.9 MB, free: 13 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5782, allocations: 0 / 385.9 MB, free: 13 MB / 314.7 MB Notification: Performance of Templates: time 0.006624/0.5848, allocations: 5.453 MB / 391.4 MB, free: 7.555 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.203242216957733]