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.0009804/0.0009804, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009499/0.0009499, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9691/0.9691, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.007828/0.007828, allocations: 1.985 MB / 263 MB, free: 10.9 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.132e-06/1.132e-06, allocations: 0 / 333.6 MB, free: 1.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022e-05/1.135e-05, allocations: 4.844 kB / 333.6 MB, free: 1.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.006845/0.006856, allocations: 9.123 MB / 342.7 MB, free: 8.508 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004827/0.01168, allocations: 8.517 MB / 351.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.099e-05/0.01174, allocations: 0 / 351.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.0121, allocations: 135.1 kB / 351.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.01233, allocations: 115.1 kB / 351.5 MB, free: 15.71 MB / 330.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.CO2CoolPropTabular.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.0142, allocations: 1.498 MB / 353 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.01443, allocations: 290.5 kB / 353.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.01447, allocations: 9.797 kB / 353.3 MB, free: 13.91 MB / 330.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.6884/0.7029, allocations: 21.68 MB / 375 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.7031, allocations: 63.81 kB / 375 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.7031, allocations: 8 kB / 375 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.7045, allocations: 483.5 kB / 375.5 MB, free: 9.723 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.7045, allocations: 39.83 kB / 375.5 MB, free: 9.684 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.7046, allocations: 63.84 kB / 375.6 MB, free: 9.621 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007292/0.7053, allocations: 478.7 kB / 376.1 MB, free: 9.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7053, allocations: 0 / 376.1 MB, free: 9.152 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.7053, allocations: 0 / 376.1 MB, free: 9.152 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.7053, allocations: 0 / 376.1 MB, free: 9.152 MB / 346.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.0005599/0.7059, allocations: 0.6003 MB / 376.7 MB, free: 8.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.7059, allocations: 8.031 kB / 376.7 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.7062, allocations: 92.58 kB / 376.8 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.7063, allocations: 148.3 kB / 376.9 MB, free: 8.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.7063, allocations: 12.38 kB / 376.9 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.7063, allocations: 16.36 kB / 376.9 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.7066, allocations: 252.3 kB / 377.2 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.7066, allocations: 0 / 377.2 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.7066, allocations: 0 / 377.2 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.7066, allocations: 11.98 kB / 377.2 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.7068, allocations: 97.34 kB / 377.3 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.7073, allocations: 0.6758 MB / 378 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.7076, allocations: 134.9 kB / 378.1 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.7076, allocations: 51.67 kB / 378.2 MB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.7077, allocations: 95.92 kB / 378.2 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.7078, allocations: 37.39 kB / 378.3 MB, free: 6.773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 1.183e-06/0.7078, allocations: 0 / 378.3 MB, free: 6.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=47): time 0.001191/0.709, allocations: 0.8305 MB / 379.1 MB, free: 5.902 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.709, allocations: 55.41 kB / 379.2 MB, free: 5.836 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.7091, allocations: 189.9 kB / 379.4 MB, free: 5.633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.7091, allocations: 29.7 kB / 379.4 MB, free: 5.598 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.7091, allocations: 155.7 kB / 379.5 MB, free: 5.441 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/0.7092, allocations: 162.5 kB / 379.7 MB, free: 5.281 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.7093, allocations: 75.3 kB / 379.8 MB, free: 5.199 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.7094, allocations: 0.5079 MB / 380.3 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.667e-05/0.7094, allocations: 48.47 kB / 380.3 MB, free: 4.633 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-05/0.7095, allocations: 124.7 kB / 380.4 MB, free: 4.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.7097, allocations: 201.6 kB / 380.6 MB, free: 4.258 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.7097, allocations: 0 / 380.6 MB, free: 4.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004164/0.7101, allocations: 333.8 kB / 381 MB, free: 3.922 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.7101, allocations: 8 kB / 381 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.7101, allocations: 4.125 kB / 381 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.7104, allocations: 139.5 kB / 381.1 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.7105, allocations: 31.92 kB / 381.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003853/0.7109, allocations: 0.8702 MB / 382 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.7109, allocations: 12 kB / 382 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.711, allocations: 11.94 kB / 382 MB, free: 2.812 MB / 346.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.247e-05/0.711, allocations: 168.5 kB / 382.2 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.7111, allocations: 19.91 kB / 382.2 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.7111, allocations: 30.3 kB / 382.3 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.7111, allocations: 12 kB / 382.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.7111, allocations: 7.984 kB / 382.3 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7111, allocations: 0 / 382.3 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.7113, allocations: 182 kB / 382.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.7113, allocations: 0 / 382.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.031e-05/0.7114, allocations: 35.97 kB / 382.5 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002868/0.7117, allocations: 71.56 kB / 382.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7117, allocations: 7.984 kB / 382.6 MB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000958/0.7126, allocations: 1.85 MB / 384.4 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.7126, allocations: 4 kB / 384.4 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.7131, allocations: 0.5185 MB / 384.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.7131, allocations: 11.91 kB / 384.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.7131, allocations: 8 kB / 385 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.7132, allocations: 11.94 kB / 385 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.7132, allocations: 23.98 kB / 385 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.7132, allocations: 4 kB / 385 MB, free: 15.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.06e-05/0.7133, allocations: 139.9 kB / 385.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7133, allocations: 3.938 kB / 385.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.7135, allocations: 71.92 kB / 385.2 MB, free: 15.44 MB / 362.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.0002584/0.7137, allocations: 184.1 kB / 385.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.714, allocations: 199.8 kB / 385.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.714, allocations: 3.938 kB / 385.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.7144, allocations: 291.8 kB / 385.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.7148, allocations: 107.8 kB / 386 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.7156, allocations: 0.536 MB / 386.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.621e-05/0.7156, allocations: 85.31 kB / 386.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.7157, allocations: 101.3 kB / 386.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.7159, allocations: 146.1 kB / 386.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.7159, allocations: 0 / 386.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of Templates: time 0.007211/0.7231, allocations: 6.287 MB / 393.1 MB, free: 7.418 MB / 362.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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.427663678769022]