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.001324/0.001324, allocations: 88.72 kB / 19.44 MB, free: 356 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.001604/0.001604, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.475/1.475, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.01273/0.01273, allocations: 1.997 MB / 261.6 MB, free: 11.07 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.924e-06/1.924e-06, allocations: 0 / 331.6 MB, free: 17.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.31e-05, allocations: 2.312 kB / 331.6 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.008461/0.008494, allocations: 8.34 MB / 340 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005647/0.01414, allocations: 7.419 MB / 347.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.01433, allocations: 0 / 347.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005752/0.0149, allocations: 135 kB / 347.5 MB, free: 1.273 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004789/0.01538, allocations: 111.2 kB / 347.6 MB, free: 1.164 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.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.004284/0.01967, allocations: 1.486 MB / 349.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006348/0.0203, allocations: 274.6 kB / 349.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.353e-05/0.02037, allocations: 17.67 kB / 349.4 MB, free: 15.38 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 1.059/1.079, allocations: 21.77 MB / 371.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/1.079, allocations: 67.8 kB / 371.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/1.079, allocations: 8 kB / 371.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/1.081, allocations: 475.6 kB / 371.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.096e-05/1.081, allocations: 31.89 kB / 371.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/1.081, allocations: 59.84 kB / 371.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/1.082, allocations: 0.5297 MB / 372.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.082, allocations: 8 kB / 372.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/1.082, allocations: 0 / 372.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/1.082, allocations: 0 / 372.4 MB, free: 10.52 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.0009566/1.083, allocations: 488.7 kB / 372.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/1.083, allocations: 12.02 kB / 372.8 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000444/1.084, allocations: 96.5 kB / 372.9 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/1.084, allocations: 153.5 kB / 373.1 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/1.084, allocations: 12.38 kB / 373.1 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/1.084, allocations: 16.36 kB / 373.1 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006205/1.085, allocations: 295.3 kB / 373.4 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.085, allocations: 0 / 373.4 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/1.085, allocations: 7.984 kB / 373.4 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/1.085, allocations: 8 kB / 373.4 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/1.085, allocations: 204.3 kB / 373.6 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009508/1.086, allocations: 0.6083 MB / 374.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005872/1.087, allocations: 206.4 kB / 374.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/1.087, allocations: 136.8 kB / 374.6 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/1.087, allocations: 95.92 kB / 374.7 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/1.087, allocations: 38.56 kB / 374.7 MB, free: 8.043 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.313e-06/1.087, allocations: 0 / 374.7 MB, free: 8.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.003165/1.091, allocations: 1.179 MB / 375.9 MB, free: 6.828 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/1.091, allocations: 59.34 kB / 375.9 MB, free: 6.758 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/1.091, allocations: 133.7 kB / 376.1 MB, free: 6.617 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/1.091, allocations: 29.7 kB / 376.1 MB, free: 6.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.904e-05/1.091, allocations: 108.9 kB / 376.2 MB, free: 6.473 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/1.091, allocations: 162.6 kB / 376.4 MB, free: 6.312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/1.091, allocations: 57.69 kB / 376.4 MB, free: 6.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001999/1.091, allocations: 326.8 kB / 376.7 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/1.092, allocations: 128.4 kB / 376.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/1.092, allocations: 192.9 kB / 377 MB, free: 5.582 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006272/1.093, allocations: 353.8 kB / 377.4 MB, free: 5.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.093, allocations: 0 / 377.4 MB, free: 5.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001281/1.094, allocations: 495 kB / 377.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.094, allocations: 12.02 kB / 377.9 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.094, allocations: 0 / 377.9 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007708/1.095, allocations: 144.7 kB / 378 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/1.095, allocations: 35.92 kB / 378.1 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008/1.096, allocations: 0.6499 MB / 378.7 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/1.096, allocations: 15.97 kB / 378.7 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/1.096, allocations: 8 kB / 378.7 MB, free: 3.836 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.0001611/1.096, allocations: 133.8 kB / 378.9 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/1.096, allocations: 31.86 kB / 378.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/1.096, allocations: 22.27 kB / 378.9 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/1.096, allocations: 8 kB / 378.9 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.096, allocations: 0 / 378.9 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/1.096, allocations: 7.922 kB / 378.9 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/1.096, allocations: 214 kB / 379.1 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.096, allocations: 3.938 kB / 379.1 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/1.097, allocations: 39.97 kB / 379.2 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/1.097, allocations: 68.78 kB / 379.3 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/1.097, allocations: 11.98 kB / 379.3 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/1.099, allocations: 1.442 MB / 380.7 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.099, allocations: 0 / 380.7 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/1.1, allocations: 0.7032 MB / 381.4 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/1.1, allocations: 19.83 kB / 381.4 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/1.1, allocations: 8 kB / 381.4 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/1.101, allocations: 11.92 kB / 381.4 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/1.101, allocations: 19.97 kB / 381.5 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/1.101, allocations: 11.98 kB / 381.5 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.22e-05/1.101, allocations: 95.27 kB / 381.6 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/1.101, allocations: 0 / 381.6 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004852/1.101, allocations: 64 kB / 381.6 MB, free: 0.7422 MB / 298.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.000476/1.102, allocations: 196.1 kB / 381.8 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008821/1.103, allocations: 339.6 kB / 382.2 MB, free: 220 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.103, allocations: 0 / 382.2 MB, free: 220 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006981/1.103, allocations: 295.9 kB / 382.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007246/1.104, allocations: 116.4 kB / 382.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/1.105, allocations: 0.5616 MB / 383.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/1.105, allocations: 125.6 kB / 383.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002755/1.106, allocations: 120.9 kB / 383.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/1.106, allocations: 24.5 kB / 383.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of SimCode: time 9.21e-07/1.106, allocations: 0 / 383.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of Templates: time 0.01225/1.118, allocations: 5.445 MB / 388.8 MB, free: 9.484 MB / 314.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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.669984744046815]