Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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.0009054/0.0009054, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009613/0.0009613, allocations: 181 kB / 23.36 MB, free: 1.133 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.9477/0.9477, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.008167/0.008167, allocations: 2 MB / 262.3 MB, free: 10.92 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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 279.6 MB, free: 9.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.126e-05, allocations: 2.312 kB / 279.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.1152/0.1152, allocations: 11.95 MB / 291.5 MB, free: 19.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007944/0.1231, allocations: 12.16 MB / 303.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.1234, allocations: 6.531 kB / 303.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.1239, allocations: 221 kB / 303.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.1262, allocations: 1.252 MB / 305.2 MB, free: 12.76 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.CO2CoolPropTabular.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolPropTabular.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.1282, allocations: 1.174 MB / 306.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007765/0.129, allocations: 0.977 MB / 307.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.043e-05/0.1291, allocations: 29.98 kB / 307.4 MB, free: 11.48 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.7056/0.8346, allocations: 22.13 MB / 329.5 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006767/0.8353, allocations: 247.3 kB / 329.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.895e-05/0.8354, allocations: 40 kB / 329.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.8382, allocations: 0.7065 MB / 330.5 MB, free: 9.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.8384, allocations: 115.5 kB / 330.6 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.8387, allocations: 227.5 kB / 330.8 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003232/0.8419, allocations: 0.9384 MB / 331.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.8419, allocations: 0 / 331.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.8419, allocations: 4 kB / 331.8 MB, free: 8.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.8419, allocations: 0 / 331.8 MB, free: 8.254 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001302/0.8432, allocations: 0.8546 MB / 332.6 MB, free: 7.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.8433, allocations: 12.03 kB / 332.6 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.8451, allocations: 1.042 MB / 333.7 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.8456, allocations: 220.9 kB / 333.9 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.553e-05/0.8456, allocations: 45.69 kB / 333.9 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.8457, allocations: 56.38 kB / 334 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009584/0.8467, allocations: 0.6998 MB / 334.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.8467, allocations: 4 kB / 334.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.8467, allocations: 27.94 kB / 334.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/0.8467, allocations: 35.97 kB / 334.7 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.8472, allocations: 288.5 kB / 335 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/0.8496, allocations: 2.262 MB / 337.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.85, allocations: 181 kB / 337.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.376e-05/0.8501, allocations: 69.7 kB / 337.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007019/0.8508, allocations: 0.6606 MB / 338.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.8508, allocations: 42.55 kB / 338.2 MB, free: 1.523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 4.709e-06/0.8508, allocations: 0 / 338.2 MB, free: 1.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.0007929/0.8516, allocations: 438.1 kB / 338.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.8517, allocations: 81.11 kB / 338.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.8518, allocations: 195.1 kB / 338.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.8518, allocations: 33.7 kB / 339 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.852, allocations: 292.4 kB / 339.3 MB, free: 472 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.8521, allocations: 237.8 kB / 339.5 MB, free: 232 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004523/0.8526, allocations: 97.89 kB / 339.6 MB, free: 124 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8527, allocations: 346.7 kB / 339.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.259e-05/0.8527, allocations: 45.25 kB / 340 MB, free: 15.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.8529, allocations: 220 kB / 340.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.8531, allocations: 339.5 kB / 340.5 MB, free: 15.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.8531, allocations: 7.938 kB / 340.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0003061/0.8534, allocations: 320.5 kB / 340.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.8535, allocations: 11.98 kB / 340.8 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.8535, allocations: 4 kB / 340.8 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.8535, allocations: 8.719 kB / 340.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.8537, allocations: 75.91 kB / 340.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004782/0.8542, allocations: 1.176 MB / 342.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.8543, allocations: 59.52 kB / 342.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.8544, allocations: 12 kB / 342.2 MB, free: 13.31 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.baseProperties.phaseInput,medium2.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.8545, allocations: 144.5 kB / 342.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.8545, allocations: 15.97 kB / 342.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.8546, allocations: 26.66 kB / 342.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.8546, allocations: 8.125 kB / 342.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8546, allocations: 7.922 kB / 342.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8546, allocations: 0 / 342.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.8549, allocations: 237.4 kB / 342.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.8549, allocations: 4 kB / 342.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.893e-05/0.855, allocations: 35.97 kB / 342.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.855, allocations: 3.938 kB / 342.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.855, allocations: 8 kB / 342.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004095/0.8554, allocations: 1.164 MB / 343.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8554, allocations: 0 / 343.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.8557, allocations: 387.8 kB / 344.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.8557, allocations: 35.69 kB / 344.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.8557, allocations: 4 kB / 344.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.8558, allocations: 11.92 kB / 344.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.8559, allocations: 15.92 kB / 344.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.8559, allocations: 4 kB / 344.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.01e-05/0.8559, allocations: 48.8 kB / 344.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.8559, allocations: 0 / 344.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004168/0.8563, allocations: 183.5 kB / 344.5 MB, free: 10.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003794/0.8567, allocations: 168.1 kB / 344.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004681/0.8572, allocations: 473 kB / 345.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.8572, allocations: 4 kB / 345.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002774/0.8575, allocations: 438.3 kB / 345.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000623/0.8581, allocations: 192.5 kB / 345.7 MB, free: 9.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.86, allocations: 1.011 MB / 346.8 MB, free: 8.496 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.8602, allocations: 163.8 kB / 346.9 MB, free: 8.312 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003567/0.8605, allocations: 191.9 kB / 347.1 MB, free: 8.125 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.8608, allocations: 197.2 kB / 347.3 MB, free: 7.934 MB / 298.7 MB Notification: Performance of SimCode: time 1.733e-06/0.8608, allocations: 0 / 347.3 MB, free: 7.934 MB / 298.7 MB Notification: Performance of Templates: time 0.01458/0.8754, allocations: 10.55 MB / 357.8 MB, free: 13.39 MB / 314.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.295280112884939]