Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 102.4 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01155/0.01155, allocations: 2.78 MB / 293.9 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.91 kB / 355.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2066, allocations: 50.24 MB / 406.1 MB, free: 32.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.01326/0.2199, allocations: 19.13 MB / 425.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00376/0.2237, allocations: 6.072 MB / 431.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.2239, allocations: 4 kB / 431.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.2245, allocations: 254.5 kB / 431.5 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.2267, allocations: 1.21 MB / 432.7 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.2269, allocations: 83.38 kB / 432.8 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.2272, allocations: 305.8 kB / 433.1 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.506e-05/0.2272, allocations: 24.73 kB / 433.1 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.2273, allocations: 91.55 kB / 433.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.2274, allocations: 111.4 kB / 433.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.2275, allocations: 11.98 kB / 433.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5285/0.756, allocations: 38.94 MB / 472.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.7561, allocations: 31.72 kB / 472.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.7563, allocations: 139.3 kB / 472.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.7581, allocations: 0.4947 MB / 473 MB, free: 14.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7582, allocations: 0 / 473 MB, free: 14.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.7582, allocations: 4 kB / 473 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.7582, allocations: 0 / 473 MB, free: 14.88 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0007367/0.7589, allocations: 0.5656 MB / 473.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.759, allocations: 8.031 kB / 473.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008512/0.7598, allocations: 208.4 kB / 473.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.76, allocations: 196 kB / 473.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.76, allocations: 20.94 kB / 473.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.76, allocations: 23.94 kB / 474 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.7605, allocations: 337.6 kB / 474.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.7605, allocations: 4 kB / 474.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.7605, allocations: 8 kB / 474.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.7606, allocations: 11.98 kB / 474.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.7609, allocations: 267.8 kB / 474.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.7626, allocations: 2.126 MB / 476.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.7627, allocations: 129.1 kB / 476.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.7629, allocations: 113.7 kB / 476.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006017/0.7635, allocations: 0.6822 MB / 477.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.7635, allocations: 42.55 kB / 477.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.292e-06/0.7635, allocations: 0 / 477.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003439/0.7639, allocations: 177.8 kB / 477.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.7639, allocations: 89.16 kB / 477.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.484e-05/0.764, allocations: 97.86 kB / 478 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.764, allocations: 25.7 kB / 478.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.7641, allocations: 164.1 kB / 478.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.295e-05/0.7642, allocations: 102.4 kB / 478.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.7643, allocations: 33.7 kB / 478.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.7644, allocations: 326.8 kB / 478.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/0.7644, allocations: 35.98 kB / 478.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-05/0.7645, allocations: 96.92 kB / 478.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.7647, allocations: 141.8 kB / 478.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.7647, allocations: 8 kB / 478.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002252/0.765, allocations: 157.3 kB / 479.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.765, allocations: 4 kB / 479.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.765, allocations: 8.016 kB / 479.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.765, allocations: 0 / 479.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.135e-05/0.7651, allocations: 12 kB / 479.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.7651, allocations: 7.922 kB / 479.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.463e-05/0.7652, allocations: 11.84 kB / 479.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.7652, allocations: 8.125 kB / 479.1 MB, free: 8.039 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001028/0.7653, allocations: 133.8 kB / 479.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.7654, allocations: 15.8 kB / 479.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.7654, allocations: 8.438 kB / 479.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.7654, allocations: 0 / 479.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.7654, allocations: 4 kB / 479.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.7654, allocations: 0 / 479.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.7658, allocations: 277.1 kB / 479.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7658, allocations: 7.938 kB / 479.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.7658, allocations: 0 / 479.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.7658, allocations: 8 kB / 479.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.7658, allocations: 4 kB / 479.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.7659, allocations: 0 / 479.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7659, allocations: 4 kB / 479.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.7676, allocations: 315.3 kB / 479.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.7677, allocations: 100.8 kB / 480 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.7677, allocations: 4 kB / 480 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.7678, allocations: 8 kB / 480 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.7679, allocations: 4 kB / 480 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.7679, allocations: 3.938 kB / 480 MB, free: 7.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.451e-05/0.7679, allocations: 83.27 kB / 480.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7679, allocations: 0 / 480.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00042/0.7683, allocations: 83.69 kB / 480.2 MB, free: 6.898 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003265/0.7687, allocations: 189 kB / 480.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.769, allocations: 240.3 kB / 480.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.769, allocations: 0 / 480.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.7692, allocations: 201.4 kB / 480.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.7698, allocations: 76.08 kB / 480.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007131/0.7705, allocations: 0.5076 MB / 481.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.7709, allocations: 0.7956 MB / 482.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.771, allocations: 29.19 kB / 482.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.7711, allocations: 23.44 kB / 482.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.7711, allocations: 0 / 482.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of Templates: time 0.00877/0.7798, allocations: 4.677 MB / 486.9 MB, free: 124 kB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1)