Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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.0009462/0.0009462, 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.0009759/0.0009759, 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.9807/0.9807, 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.0105/0.0105, 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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 279.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.411e-05, allocations: 9.406 kB / 279.6 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.1128/0.1128, allocations: 11.9 MB / 291.5 MB, free: 19.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007907/0.1207, allocations: 12.16 MB / 303.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.121, allocations: 3.344 kB / 303.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005221/0.1215, allocations: 216.8 kB / 303.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.1241, allocations: 1.256 MB / 305.1 MB, free: 12.81 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.002229/0.1263, allocations: 1.169 MB / 306.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007635/0.1271, allocations: 0.9732 MB / 307.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.591e-05/0.1271, allocations: 29.77 kB / 307.3 MB, free: 11.54 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.677/0.8042, allocations: 22.11 MB / 329.4 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.8046, allocations: 239.3 kB / 329.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/0.8047, allocations: 40 kB / 329.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.8069, allocations: 0.7182 MB / 330.4 MB, free: 9.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.757e-05/0.807, allocations: 115.5 kB / 330.5 MB, free: 9.516 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.8072, allocations: 227.5 kB / 330.8 MB, free: 9.293 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.8084, allocations: 0.9306 MB / 331.7 MB, free: 8.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8084, allocations: 0 / 331.7 MB, free: 8.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.8084, allocations: 0 / 331.7 MB, free: 8.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.8084, allocations: 0 / 331.7 MB, free: 8.359 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.0007829/0.8092, allocations: 0.8623 MB / 332.5 MB, free: 7.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.8092, allocations: 8.031 kB / 332.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.8106, allocations: 1.05 MB / 333.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.8109, allocations: 213 kB / 333.8 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.8109, allocations: 45.69 kB / 333.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.811, allocations: 56.38 kB / 333.9 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006814/0.8116, allocations: 0.7038 MB / 334.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.8117, allocations: 3.938 kB / 334.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.8117, allocations: 27.94 kB / 334.6 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.8117, allocations: 31.98 kB / 334.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/0.8121, allocations: 292.5 kB / 335 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.8138, allocations: 2.258 MB / 337.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.814, allocations: 165 kB / 337.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.346e-05/0.8141, allocations: 69.7 kB / 337.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006772/0.8148, allocations: 0.6761 MB / 338.1 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.8148, allocations: 38.55 kB / 338.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 2.464e-06/0.8148, allocations: 0 / 338.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.0006556/0.8154, allocations: 430.1 kB / 338.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.8155, allocations: 85.03 kB / 338.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.8156, allocations: 195.1 kB / 338.9 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.8156, allocations: 29.7 kB / 338.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.8157, allocations: 296.4 kB / 339.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.319e-05/0.8158, allocations: 241.8 kB / 339.4 MB, free: 340 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.8159, allocations: 97.89 kB / 339.5 MB, free: 232 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.816, allocations: 346.7 kB / 339.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.107e-05/0.816, allocations: 41.31 kB / 339.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.8161, allocations: 228 kB / 340.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.8163, allocations: 339.5 kB / 340.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8163, allocations: 0 / 340.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000271/0.8166, allocations: 316.8 kB / 340.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.8166, allocations: 8 kB / 340.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.8166, allocations: 4 kB / 340.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.8166, allocations: 8 kB / 340.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.8168, allocations: 75.84 kB / 340.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.8168, allocations: 11.98 kB / 340.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.8169, allocations: 55.52 kB / 340.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.8169, allocations: 16.34 kB / 340.9 MB, free: 14.64 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): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.293e-05/0.817, allocations: 144.4 kB / 341.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.817, allocations: 23.97 kB / 341.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.8171, allocations: 22.66 kB / 341.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8171, allocations: 0 / 341.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.8171, allocations: 0 / 341.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.8171, allocations: 4 kB / 341.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.8176, allocations: 237.4 kB / 341.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.8176, allocations: 0 / 341.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.8176, allocations: 27.98 kB / 341.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8176, allocations: 3.984 kB / 341.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.8176, allocations: 8 kB / 341.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8176, allocations: 7.938 kB / 341.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8176, allocations: 0 / 341.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.8178, allocations: 383.8 kB / 341.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.8179, allocations: 35.62 kB / 341.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.8179, allocations: 4 kB / 341.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.818, allocations: 15.92 kB / 341.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.818, allocations: 7.984 kB / 341.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.818, allocations: 7.984 kB / 341.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.84e-05/0.818, allocations: 36.83 kB / 341.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.818, allocations: 0 / 341.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000316/0.8184, allocations: 191.5 kB / 342.1 MB, free: 13.45 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): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002817/0.8186, allocations: 175.7 kB / 342.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.8189, allocations: 453.1 kB / 342.7 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/0.8189, allocations: 4 kB / 342.7 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.8191, allocations: 418.4 kB / 343.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.8197, allocations: 188.5 kB / 343.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.8207, allocations: 0.9954 MB / 344.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.8208, allocations: 171.7 kB / 344.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002628/0.821, allocations: 209.9 kB / 344.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.8213, allocations: 193.2 kB / 344.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.8213, allocations: 0 / 344.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of Templates: time 0.01184/0.8331, allocations: 10.03 MB / 354.9 MB, free: 500 kB / 298.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.152955679222941]