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.000896/0.000896, allocations: 76.94 kB / 19.94 MB, free: 4.543 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.000893/0.000893, allocations: 176.9 kB / 23.36 MB, free: 1.125 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.9155/0.9155, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.007366/0.007366, allocations: 1.993 MB / 262.3 MB, free: 10.93 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.653e-06/1.653e-06, allocations: 0 / 279.6 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.254e-05, allocations: 5.266 kB / 279.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.009947/0.00997, allocations: 9.184 MB / 288.7 MB, free: 396 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.12/0.13, allocations: 8.57 MB / 297.3 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.1302, allocations: 5 kB / 297.3 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000425/0.1306, allocations: 141.9 kB / 297.5 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.1309, allocations: 114.5 kB / 297.6 MB, free: 16.64 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.002956/0.1338, allocations: 1.511 MB / 299.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.1342, allocations: 286.6 kB / 299.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.1342, allocations: 9.859 kB / 299.4 MB, free: 15.73 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.5068/0.6411, allocations: 21.5 MB / 320.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.6412, allocations: 69.5 kB / 320.9 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.6413, allocations: 8 kB / 321 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.6425, allocations: 480 kB / 321.4 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.6425, allocations: 27.47 kB / 321.4 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.6426, allocations: 63.28 kB / 321.5 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006202/0.6432, allocations: 487.9 kB / 322 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6432, allocations: 0 / 322 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.6432, allocations: 0 / 322 MB, free: 1.633 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.6432, allocations: 0 / 322 MB, free: 1.633 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.0004421/0.6436, allocations: 466.1 kB / 322.4 MB, free: 1.176 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.6437, allocations: 12.03 kB / 322.5 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.6439, allocations: 98.11 kB / 322.6 MB, free: 1.082 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.644, allocations: 139.9 kB / 322.7 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.644, allocations: 8.875 kB / 322.7 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.644, allocations: 10.81 kB / 322.7 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.6442, allocations: 244.4 kB / 322.9 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.6442, allocations: 4 kB / 322.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.6443, allocations: 10.75 kB / 323 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.6443, allocations: 11.67 kB / 323 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.6444, allocations: 91.27 kB / 323.1 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.6447, allocations: 494.9 kB / 323.5 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.6449, allocations: 164.8 kB / 323.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.645, allocations: 48.34 kB / 323.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.927e-05/0.6451, allocations: 98.23 kB / 323.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.6451, allocations: 34.33 kB / 323.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 1.243e-06/0.6451, allocations: 0 / 323.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=47): time 0.001147/0.6462, allocations: 0.8158 MB / 324.7 MB, free: 14.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.6462, allocations: 55.34 kB / 324.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.652e-05/0.6463, allocations: 138.6 kB / 324.9 MB, free: 14.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.6463, allocations: 29.45 kB / 324.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.6464, allocations: 110.4 kB / 325 MB, free: 14.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.108e-05/0.6464, allocations: 158.1 kB / 325.2 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.6465, allocations: 61.14 kB / 325.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.6465, allocations: 330.8 kB / 325.6 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-05/0.6466, allocations: 47.25 kB / 325.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.6467, allocations: 104.9 kB / 325.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.6468, allocations: 191.3 kB / 325.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6468, allocations: 0 / 325.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003434/0.6471, allocations: 295.2 kB / 326.2 MB, free: 13.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.6471, allocations: 4 kB / 326.2 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6471, allocations: 7.938 kB / 326.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002705/0.6474, allocations: 112.9 kB / 326.3 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.245e-05/0.6475, allocations: 35.73 kB / 326.3 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000281/0.6478, allocations: 0.5901 MB / 326.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.632e-05/0.6478, allocations: 15.94 kB / 326.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.6478, allocations: 7.938 kB / 327 MB, free: 12.64 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 6.962e-05/0.6479, allocations: 131.3 kB / 327.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.6479, allocations: 15.98 kB / 327.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.648, allocations: 23.02 kB / 327.1 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.648, allocations: 7.562 kB / 327.1 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.648, allocations: 0 / 327.1 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.648, allocations: 3.984 kB / 327.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.6481, allocations: 136.7 kB / 327.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6481, allocations: 4 kB / 327.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.6482, allocations: 35.92 kB / 327.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.6484, allocations: 92.69 kB / 327.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.6484, allocations: 7.984 kB / 327.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001713/0.6486, allocations: 0.5367 MB / 327.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6486, allocations: 0 / 327.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.6489, allocations: 412.9 kB / 328.3 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.6489, allocations: 23.84 kB / 328.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.6489, allocations: 4.094 kB / 328.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.423e-05/0.649, allocations: 8 kB / 328.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.649, allocations: 23.89 kB / 328.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.649, allocations: 8 kB / 328.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.74e-05/0.649, allocations: 25.53 kB / 328.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.649, allocations: 0 / 328.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.6492, allocations: 60 kB / 328.5 MB, free: 11.07 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.0002502/0.6495, allocations: 172.4 kB / 328.7 MB, free: 10.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.6497, allocations: 193 kB / 328.8 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6497, allocations: 384 / 328.8 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.6499, allocations: 122.7 kB / 329 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.6502, allocations: 104.3 kB / 329.1 MB, free: 10.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007745/0.651, allocations: 0.5245 MB / 329.6 MB, free: 9.934 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.384e-05/0.651, allocations: 81.33 kB / 329.7 MB, free: 9.828 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.6511, allocations: 89.36 kB / 329.8 MB, free: 9.742 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.6513, allocations: 125.2 kB / 329.9 MB, free: 9.621 MB / 282.7 MB Notification: Performance of SimCode: time 4.7e-07/0.6513, allocations: 0 / 329.9 MB, free: 9.621 MB / 282.7 MB Notification: Performance of Templates: time 0.006568/0.6578, allocations: 5.983 MB / 335.9 MB, free: 3.629 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.416967612691224]