Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.001014/0.001014, allocations: 80.88 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.0009616/0.0009616, 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.9656/0.9656, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.008788/0.008788, allocations: 1.994 MB / 262.3 MB, free: 10.93 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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 279.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.674e-05, allocations: 6.25 kB / 279.6 MB, free: 9.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.1599/0.1599, allocations: 11.91 MB / 291.5 MB, free: 19.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00804/0.1679, allocations: 12.16 MB / 303.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.1682, allocations: 2.188 kB / 303.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.1687, allocations: 221.7 kB / 303.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.1707, allocations: 1.248 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.002004/0.1727, allocations: 1.172 MB / 306.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006971/0.1734, allocations: 0.974 MB / 307.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.716e-05/0.1735, allocations: 32.22 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.6997/0.8732, allocations: 22.11 MB / 329.4 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005737/0.8738, allocations: 243.3 kB / 329.7 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.708e-05/0.8738, allocations: 40 kB / 329.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.8762, allocations: 0.7143 MB / 330.4 MB, free: 9.617 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.8764, allocations: 111.5 kB / 330.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.8766, allocations: 227.5 kB / 330.8 MB, free: 9.285 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.8789, allocations: 0.9384 MB / 331.7 MB, free: 8.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.8789, allocations: 0 / 331.7 MB, free: 8.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.8789, allocations: 0 / 331.7 MB, free: 8.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.8789, allocations: 4 kB / 331.7 MB, free: 8.336 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.001049/0.8799, allocations: 0.8546 MB / 332.5 MB, free: 7.453 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.88, allocations: 12.02 kB / 332.6 MB, free: 7.441 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.8815, allocations: 1.046 MB / 333.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.8819, allocations: 209 kB / 333.8 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.8819, allocations: 45.69 kB / 333.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.8819, allocations: 56.38 kB / 333.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/0.8826, allocations: 0.7038 MB / 334.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.8826, allocations: 7.938 kB / 334.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.8826, allocations: 23.94 kB / 334.6 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.8827, allocations: 35.98 kB / 334.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.883, allocations: 288.5 kB / 335 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.8846, allocations: 2.242 MB / 337.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.885, allocations: 184.9 kB / 337.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.757e-05/0.885, allocations: 77.64 kB / 337.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005755/0.8856, allocations: 0.6724 MB / 338.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.8856, allocations: 34.56 kB / 338.2 MB, free: 1.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 2.695e-06/0.8856, allocations: 0 / 338.2 MB, free: 1.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.0006796/0.8863, allocations: 455 kB / 338.6 MB, free: 1.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.8863, allocations: 85.09 kB / 338.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.8864, allocations: 174.4 kB / 338.9 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.8865, allocations: 25.7 kB / 338.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.8866, allocations: 292.4 kB / 339.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.854e-05/0.8867, allocations: 253.7 kB / 339.4 MB, free: 312 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.288e-05/0.8867, allocations: 89.91 kB / 339.5 MB, free: 212 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.8868, allocations: 354.7 kB / 339.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.528e-05/0.8869, allocations: 41.31 kB / 339.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.887, allocations: 213.4 kB / 340.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.8872, allocations: 309.5 kB / 340.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.8872, allocations: 4 kB / 340.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002656/0.8875, allocations: 308.6 kB / 340.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.8875, allocations: 8.625 kB / 340.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.8875, allocations: 4 kB / 340.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.8875, allocations: 12 kB / 340.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.8876, allocations: 67.91 kB / 340.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.8877, allocations: 11.94 kB / 340.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.8878, allocations: 51.52 kB / 340.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.8878, allocations: 19.98 kB / 340.9 MB, free: 14.68 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 0.0001212/0.8879, allocations: 140.5 kB / 341 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.888, allocations: 19.98 kB / 341 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.888, allocations: 25.95 kB / 341.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.888, allocations: 4 kB / 341.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.888, allocations: 7.938 kB / 341.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.888, allocations: 3.984 kB / 341.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.8883, allocations: 245.4 kB / 341.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8883, allocations: 0 / 341.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.503e-05/0.8883, allocations: 31.92 kB / 341.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.8883, allocations: 0 / 341.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.8884, allocations: 8 kB / 341.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8884, allocations: 0 / 341.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8884, allocations: 0 / 341.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.8886, allocations: 399.5 kB / 341.8 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.8886, allocations: 47.56 kB / 341.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.8886, allocations: 8 kB / 341.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/0.8887, allocations: 12 kB / 341.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.8888, allocations: 23.95 kB / 341.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.8888, allocations: 0 / 341.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.628e-05/0.8888, allocations: 45.62 kB / 341.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.8888, allocations: 0 / 341.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004134/0.8893, allocations: 179.6 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: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * 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.0003577/0.8896, allocations: 175.6 kB / 342.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.89, allocations: 453 kB / 342.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.89, allocations: 4 kB / 342.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.8902, allocations: 422.5 kB / 343.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.8907, allocations: 197.4 kB / 343.3 MB, free: 12.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.8919, allocations: 1.003 MB / 344.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.892, allocations: 168.7 kB / 344.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003211/0.8923, allocations: 221.8 kB / 344.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.8926, allocations: 213.2 kB / 344.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of SimCode: time 1.443e-06/0.8926, allocations: 0 / 344.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of Templates: time 0.01291/0.9055, allocations: 10.57 MB / 355.5 MB, free: 15.9 MB / 314.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.174532216973603]