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.0008876/0.0008876, allocations: 93.06 kB / 19.65 MB, free: 272 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.001177/0.001177, allocations: 169 kB / 23.03 MB, free: 1.539 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.9576/0.9576, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.007683/0.007683, allocations: 1.989 MB / 261.9 MB, free: 11.05 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.734e-06/1.734e-06, allocations: 0 / 332.4 MB, free: 16.89 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.289e-05, allocations: 6.25 kB / 332.4 MB, free: 16.88 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.006322/0.006345, allocations: 9.216 MB / 341.6 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004324/0.01067, allocations: 8.607 MB / 350.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.01079, allocations: 0 / 350.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.01127, allocations: 139 kB / 350.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003396/0.01466, allocations: 111.2 kB / 350.4 MB, free: 14.74 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.Examples.CO2CoolPropTabular.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.004109/0.01877, allocations: 1.501 MB / 351.9 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.01912, allocations: 294.6 kB / 352.2 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.01917, allocations: 9.797 kB / 352.2 MB, free: 12.93 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.6793/0.6984, allocations: 21.68 MB / 373.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.6986, allocations: 75.73 kB / 374 MB, free: 9.246 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.6987, allocations: 8 kB / 374 MB, free: 9.238 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.6999, allocations: 479.5 kB / 374.5 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.7, allocations: 27.91 kB / 374.5 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.508e-05/0.7001, allocations: 67.84 kB / 374.6 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.7011, allocations: 482.7 kB / 375 MB, free: 8.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7011, allocations: 0 / 375 MB, free: 8.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.7011, allocations: 0 / 375 MB, free: 8.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.7011, allocations: 0 / 375 MB, free: 8.203 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.000745/0.7019, allocations: 0.5849 MB / 375.6 MB, free: 7.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.7019, allocations: 12.03 kB / 375.6 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.7022, allocations: 92.5 kB / 375.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.7024, allocations: 148.4 kB / 375.9 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.7024, allocations: 12.38 kB / 375.9 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.7024, allocations: 12.38 kB / 375.9 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/0.7029, allocations: 260.5 kB / 376.1 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.7029, allocations: 0 / 376.1 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.7029, allocations: 8 kB / 376.2 MB, free: 6.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.7029, allocations: 11.98 kB / 376.2 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.7031, allocations: 104.9 kB / 376.3 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.7038, allocations: 0.6872 MB / 377 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.7041, allocations: 154.9 kB / 377.1 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7e-05/0.7041, allocations: 59.67 kB / 377.2 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.7043, allocations: 95.92 kB / 377.3 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.7043, allocations: 41.39 kB / 377.3 MB, free: 5.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/0.7043, allocations: 0 / 377.3 MB, free: 5.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001473/0.7058, allocations: 0.9046 MB / 378.2 MB, free: 4.828 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.7058, allocations: 51.41 kB / 378.3 MB, free: 4.766 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.7059, allocations: 193.9 kB / 378.4 MB, free: 4.559 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.7059, allocations: 29.7 kB / 378.5 MB, free: 4.523 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.706, allocations: 155.7 kB / 378.6 MB, free: 4.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.7061, allocations: 162.6 kB / 378.8 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.7062, allocations: 63.36 kB / 378.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.7063, allocations: 0.5079 MB / 379.3 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.7064, allocations: 60.47 kB / 379.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.7065, allocations: 140.8 kB / 379.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.7067, allocations: 217.7 kB / 379.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.7068, allocations: 4 kB / 379.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004924/0.7072, allocations: 365.8 kB / 380.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.7073, allocations: 11.89 kB / 380.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.7073, allocations: 0 / 380.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/0.7077, allocations: 139.7 kB / 380.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.508e-05/0.7077, allocations: 31.92 kB / 380.3 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004648/0.7082, allocations: 0.8858 MB / 381.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.7083, allocations: 15.94 kB / 381.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.7083, allocations: 7.984 kB / 381.2 MB, free: 1.648 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.0001111/0.7084, allocations: 176.5 kB / 381.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.7084, allocations: 27.86 kB / 381.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.7085, allocations: 18.28 kB / 381.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001599/0.7086, allocations: 15.98 kB / 381.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.7086, allocations: 0 / 381.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.7086, allocations: 7.938 kB / 381.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.7088, allocations: 205.2 kB / 381.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.7088, allocations: 3.938 kB / 381.7 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.654e-05/0.7089, allocations: 27.98 kB / 381.7 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002025/0.7091, allocations: 71.59 kB / 381.8 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.7091, allocations: 8 kB / 381.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.7102, allocations: 1.881 MB / 383.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7102, allocations: 4 kB / 383.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005132/0.7107, allocations: 0.5384 MB / 384.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.7107, allocations: 19.8 kB / 384.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.7107, allocations: 8 kB / 384.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.7108, allocations: 4 kB / 384.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.7108, allocations: 23.95 kB / 384.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.7109, allocations: 4 kB / 384.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.596e-05/0.7109, allocations: 143.2 kB / 384.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.7109, allocations: 0 / 384.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.7111, allocations: 75.86 kB / 384.5 MB, free: 14.18 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.0003236/0.7115, allocations: 172.7 kB / 384.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.7119, allocations: 228.8 kB / 384.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7119, allocations: 4 kB / 384.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006028/0.7125, allocations: 303.4 kB / 385.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.7129, allocations: 108 kB / 385.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.7139, allocations: 0.5432 MB / 385.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.344e-05/0.714, allocations: 85.31 kB / 385.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.7141, allocations: 97.34 kB / 386 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.7142, allocations: 24.44 kB / 386 MB, free: 12.56 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7142, allocations: 0 / 386 MB, free: 12.56 MB / 314.7 MB Notification: Performance of Templates: time 0.009723/0.7239, allocations: 6.288 MB / 392.3 MB, free: 6.266 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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.390727570280433]