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.001149/0.001149, allocations: 108 kB / 16.27 MB, free: 6.406 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.001223/0.001223, allocations: 193 kB / 17.2 MB, free: 5.973 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01231/0.01231, allocations: 2.772 MB / 293.8 MB, free: 12.05 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.91 kB / 355.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1903, allocations: 50.23 MB / 405.3 MB, free: 32.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.01255/0.2029, allocations: 19.13 MB / 424.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.2062, allocations: 6.068 MB / 430.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.2063, allocations: 0 / 430.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005334/0.2069, allocations: 258.5 kB / 430.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.2091, allocations: 1.206 MB / 432 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.2093, allocations: 87.36 kB / 432.1 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.2096, allocations: 297.8 kB / 432.3 MB, free: 5.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.835e-05/0.2097, allocations: 16.75 kB / 432.4 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.012e-05/0.2097, allocations: 99.53 kB / 432.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.2098, allocations: 115.4 kB / 432.6 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.2098, allocations: 8 kB / 432.6 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.502/0.7118, allocations: 38.61 MB / 471.2 MB, free: 36 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.7119, allocations: 35.72 kB / 471.2 MB, free: 0 / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.7122, allocations: 135.4 kB / 471.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.7143, allocations: 0.4948 MB / 471.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7143, allocations: 3.938 kB / 471.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.7144, allocations: 0 / 471.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.118e-06/0.7144, allocations: 0 / 471.8 MB, free: 15.36 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.000728/0.7151, allocations: 0.5656 MB / 472.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.7151, allocations: 11.97 kB / 472.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008132/0.716, allocations: 208.4 kB / 472.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.7161, allocations: 188.1 kB / 472.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.7162, allocations: 24.94 kB / 472.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.7162, allocations: 19.94 kB / 472.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004881/0.7167, allocations: 341.6 kB / 473.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.7167, allocations: 0 / 473.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.7167, allocations: 15.94 kB / 473.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.7168, allocations: 8 kB / 473.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.7171, allocations: 267.8 kB / 473.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.7188, allocations: 2.138 MB / 475.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.719, allocations: 129.2 kB / 475.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.7191, allocations: 109.8 kB / 475.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006256/0.7198, allocations: 0.69 MB / 476.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.7198, allocations: 34.56 kB / 476.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.7198, allocations: 0 / 476.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003783/0.7202, allocations: 181.8 kB / 476.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.7203, allocations: 81.11 kB / 476.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.7204, allocations: 105.9 kB / 476.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.7204, allocations: 25.7 kB / 477 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.7205, allocations: 160.1 kB / 477.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.843e-05/0.7206, allocations: 110.3 kB / 477.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.7207, allocations: 33.7 kB / 477.3 MB, free: 9.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7208, allocations: 326.8 kB / 477.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-05/0.7209, allocations: 35.98 kB / 477.6 MB, free: 9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-05/0.721, allocations: 88.94 kB / 477.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.7212, allocations: 141.8 kB / 477.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7212, allocations: 4 kB / 477.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002557/0.7214, allocations: 161.3 kB / 478 MB, free: 8.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.7215, allocations: 8 kB / 478 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.7215, allocations: 0 / 478 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.7215, allocations: 4 kB / 478 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.508e-05/0.7216, allocations: 11.98 kB / 478 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.7216, allocations: 7.938 kB / 478 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.7217, allocations: 11.84 kB / 478 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.7217, allocations: 8.125 kB / 478 MB, free: 8.52 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.000115/0.7218, allocations: 133.8 kB / 478.2 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.7219, allocations: 11.81 kB / 478.2 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.7219, allocations: 12.38 kB / 478.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.7219, allocations: 7.984 kB / 478.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7219, allocations: 0 / 478.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.722, allocations: 0 / 478.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.7223, allocations: 273.4 kB / 478.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7223, allocations: 0 / 478.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.7223, allocations: 4 kB / 478.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.7223, allocations: 4 kB / 478.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.7224, allocations: 4 kB / 478.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7224, allocations: 0 / 478.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7224, allocations: 4.188 kB / 478.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.724, allocations: 315.1 kB / 478.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.7241, allocations: 104.7 kB / 478.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.7241, allocations: 3.984 kB / 478.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.7242, allocations: 8 kB / 478.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.7243, allocations: 4 kB / 478.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.7243, allocations: 3.938 kB / 478.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.544e-05/0.7243, allocations: 79.28 kB / 479 MB, free: 7.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7243, allocations: 0 / 479 MB, free: 7.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004722/0.7248, allocations: 87.73 kB / 479.1 MB, free: 7.383 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.0003746/0.7252, allocations: 189 kB / 479.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003572/0.7255, allocations: 240.2 kB / 479.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7256, allocations: 0 / 479.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.7257, allocations: 201.4 kB / 479.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00071/0.7265, allocations: 84.09 kB / 479.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008383/0.7273, allocations: 0.5522 MB / 480.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.7277, allocations: 0.8034 MB / 481.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.7278, allocations: 19.44 kB / 481.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.7278, allocations: 3.938 kB / 481.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of Templates: time 0.007368/0.7351, allocations: 3.681 MB / 484.8 MB, free: 1.543 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)