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.001069/0.001069, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001068/0.001068, allocations: 191.7 kB / 16.25 MB, free: 6.145 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.266/1.266, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1395/0.1395, allocations: 2.759 MB / 292.8 MB, free: 3.789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 59.89 kB / 353.9 MB, free: 4.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1023, allocations: 50.23 MB / 404.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.1785/0.2808, allocations: 19.02 MB / 423.2 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003606/0.2844, allocations: 6.034 MB / 429.2 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.2846, allocations: 7.219 kB / 429.2 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.2851, allocations: 235.2 kB / 429.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.2871, allocations: 1.111 MB / 430.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.2874, allocations: 81.84 kB / 430.6 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.2876, allocations: 306.3 kB / 430.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.2876, allocations: 30.78 kB / 431 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.2877, allocations: 89.95 kB / 431 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.2878, allocations: 113 kB / 431.1 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.2878, allocations: 6.469 kB / 431.2 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7496/1.037, allocations: 38.6 MB / 469.8 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.206e-05/1.038, allocations: 31.7 kB / 469.8 MB, free: 18.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000294/1.038, allocations: 133.4 kB / 469.9 MB, free: 18.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002469/1.04, allocations: 0.5013 MB / 470.4 MB, free: 18.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/1.04, allocations: 0 / 470.4 MB, free: 18.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/1.04, allocations: 0 / 470.4 MB, free: 18.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/1.04, allocations: 0 / 470.4 MB, free: 18.02 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.0005575/1.041, allocations: 0.571 MB / 471 MB, free: 17.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.041, allocations: 10.53 kB / 471 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000775/1.042, allocations: 202.1 kB / 471.2 MB, free: 17.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.008e-05/1.042, allocations: 185.6 kB / 471.4 MB, free: 17.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/1.042, allocations: 17.94 kB / 471.4 MB, free: 17.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/1.042, allocations: 22.25 kB / 471.4 MB, free: 17.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/1.042, allocations: 340.5 kB / 471.7 MB, free: 17.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.042, allocations: 7.984 kB / 471.8 MB, free: 17.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/1.042, allocations: 12.22 kB / 471.8 MB, free: 17.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/1.042, allocations: 14.66 kB / 471.8 MB, free: 17.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/1.043, allocations: 260.2 kB / 472 MB, free: 17.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/1.044, allocations: 2.122 MB / 474.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/1.044, allocations: 142.8 kB / 474.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/1.044, allocations: 105.9 kB / 474.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004508/1.045, allocations: 0.6868 MB / 475.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.284e-05/1.045, allocations: 31.66 kB / 475.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.233e-06/1.045, allocations: 0 / 475.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0002946/1.045, allocations: 185.5 kB / 475.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/1.045, allocations: 80.53 kB / 475.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.502e-05/1.045, allocations: 106.5 kB / 475.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/1.045, allocations: 25.7 kB / 475.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/1.045, allocations: 161.5 kB / 475.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/1.045, allocations: 103.7 kB / 475.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/1.045, allocations: 33.72 kB / 475.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.512e-05/1.045, allocations: 329 kB / 476.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.965e-05/1.045, allocations: 29.78 kB / 476.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/1.045, allocations: 89.8 kB / 476.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/1.046, allocations: 144.5 kB / 476.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.046, allocations: 0 / 476.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001989/1.046, allocations: 166 kB / 476.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.046, allocations: 4.969 kB / 476.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/1.046, allocations: 5.344 kB / 476.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/1.046, allocations: 2.688 kB / 476.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/1.046, allocations: 12.91 kB / 476.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.046, allocations: 1.75 kB / 476.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/1.046, allocations: 31.36 kB / 476.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/1.046, allocations: 5.312 kB / 476.6 MB, free: 12.95 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 9.64e-05/1.046, allocations: 130.2 kB / 476.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/1.046, allocations: 16.14 kB / 476.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/1.047, allocations: 424.2 kB / 477.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003231/1.047, allocations: 337.5 kB / 477.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.047, allocations: 1.25 kB / 477.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.047, allocations: 1.25 kB / 477.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009934/1.048, allocations: 1.038 MB / 478.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.048, allocations: 5 kB / 478.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/1.048, allocations: 50.02 kB / 478.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.048, allocations: 6.188 kB / 478.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/1.048, allocations: 5.062 kB / 478.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/1.048, allocations: 2.375 kB / 478.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.048, allocations: 4 kB / 478.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/1.049, allocations: 0.4964 MB / 479.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/1.049, allocations: 105.6 kB / 479.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/1.049, allocations: 6.156 kB / 479.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/1.049, allocations: 54.33 kB / 479.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/1.049, allocations: 20.69 kB / 479.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/1.049, allocations: 10.34 kB / 479.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.427e-05/1.049, allocations: 82.59 kB / 479.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.91e-07/1.049, allocations: 0 / 479.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000429/1.049, allocations: 105.2 kB / 479.5 MB, free: 11.15 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: 4 (state1.phase,$cse2.phase,state2.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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.0003216/1.05, allocations: 201.5 kB / 479.7 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004064/1.05, allocations: 318.9 kB / 480 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.05, allocations: 0 / 480 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/1.05, allocations: 173.2 kB / 480.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009461/1.051, allocations: 170.6 kB / 480.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/1.053, allocations: 0.7986 MB / 481.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/1.053, allocations: 0.8043 MB / 481.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001418/1.053, allocations: 34.25 kB / 482 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/1.053, allocations: 24.25 kB / 482 MB, free: 9.445 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/1.053, allocations: 0 / 482 MB, free: 9.445 MB / 350.1 MB Notification: Performance of Templates: time 0.01035/1.063, allocations: 6.077 MB / 488.1 MB, free: 8.906 MB / 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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical.pipe 2>&1)