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.001377/0.001377, allocations: 109.7 kB / 15.99 MB, free: 5.891 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.001476/0.001476, allocations: 194.9 kB / 16.91 MB, free: 5.746 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.318/1.318, allocations: 222.9 MB / 240.6 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1366/0.1366, allocations: 2.762 MB / 293.5 MB, free: 3.758 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 59.91 kB / 354.6 MB, free: 4.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1123, allocations: 50.24 MB / 404.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.202/0.3143, allocations: 19.02 MB / 423.8 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003899/0.3183, allocations: 6.029 MB / 429.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.3184, allocations: 4.156 kB / 429.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.319, allocations: 234.8 kB / 430.1 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.3216, allocations: 1.12 MB / 431.2 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.3219, allocations: 76.47 kB / 431.3 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.3223, allocations: 308.8 kB / 431.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.433e-05/0.3223, allocations: 26.97 kB / 431.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.585e-05/0.3224, allocations: 89.41 kB / 431.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.3226, allocations: 120.2 kB / 431.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.3226, allocations: 6.344 kB / 431.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8969/1.22, allocations: 38.59 MB / 470.4 MB, free: 18.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.718e-05/1.22, allocations: 34.06 kB / 470.4 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003664/1.22, allocations: 124.3 kB / 470.6 MB, free: 18.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008856/1.221, allocations: 362.8 kB / 470.9 MB, free: 18.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.221, allocations: 0 / 470.9 MB, free: 18.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.737e-06/1.221, allocations: 0 / 470.9 MB, free: 18.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/1.221, allocations: 3.938 kB / 470.9 MB, free: 18.03 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.0005841/1.222, allocations: 0.5643 MB / 471.5 MB, free: 17.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.222, allocations: 9.781 kB / 471.5 MB, free: 17.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008043/1.222, allocations: 201.5 kB / 471.7 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.922e-05/1.222, allocations: 190.5 kB / 471.9 MB, free: 17.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/1.223, allocations: 20.88 kB / 471.9 MB, free: 17.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/1.223, allocations: 23.38 kB / 471.9 MB, free: 17.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/1.223, allocations: 340.3 kB / 472.2 MB, free: 17.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/1.223, allocations: 0.8125 kB / 472.2 MB, free: 17.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/1.223, allocations: 9.312 kB / 472.3 MB, free: 17.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/1.223, allocations: 13.44 kB / 472.3 MB, free: 17.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/1.223, allocations: 262 kB / 472.5 MB, free: 17.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/1.225, allocations: 2.126 MB / 474.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/1.225, allocations: 138.8 kB / 474.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/1.225, allocations: 113.5 kB / 474.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000576/1.226, allocations: 0.6775 MB / 475.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/1.226, allocations: 40.16 kB / 475.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.413e-06/1.226, allocations: 0 / 475.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003671/1.226, allocations: 187.6 kB / 475.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/1.226, allocations: 81.69 kB / 475.9 MB, free: 14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.336e-05/1.226, allocations: 107.2 kB / 476 MB, free: 13.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/1.226, allocations: 25.7 kB / 476 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/1.226, allocations: 161.3 kB / 476.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/1.227, allocations: 104.7 kB / 476.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/1.227, allocations: 41.62 kB / 476.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/1.227, allocations: 326.3 kB / 476.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.698e-05/1.227, allocations: 29.31 kB / 476.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/1.227, allocations: 85.25 kB / 476.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/1.227, allocations: 144 kB / 476.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.227, allocations: 0 / 476.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002184/1.227, allocations: 165.8 kB / 477 MB, free: 13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.227, allocations: 7.219 kB / 477 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.227, allocations: 0 / 477 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.227, allocations: 7.375 kB / 477.1 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.141e-05/1.227, allocations: 13.72 kB / 477.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/1.227, allocations: 7.266 kB / 477.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/1.227, allocations: 22 kB / 477.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/1.228, allocations: 3.688 kB / 477.1 MB, free: 12.98 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 8.698e-05/1.228, allocations: 139.6 kB / 477.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/1.228, allocations: 11.62 kB / 477.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/1.228, allocations: 419.2 kB / 477.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004116/1.229, allocations: 340.4 kB / 478 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.229, allocations: 5.094 kB / 478 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/1.229, allocations: 4.391 kB / 478 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/1.23, allocations: 1.03 MB / 479 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.23, allocations: 5.031 kB / 479 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/1.23, allocations: 50.95 kB / 479.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/1.23, allocations: 2.25 kB / 479.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/1.23, allocations: 5.938 kB / 479.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/1.23, allocations: 2.094 kB / 479.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.23, allocations: 288 / 479.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/1.23, allocations: 0.5046 MB / 479.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/1.23, allocations: 109.1 kB / 479.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/1.23, allocations: 6.25 kB / 479.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/1.231, allocations: 50.36 kB / 479.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/1.231, allocations: 20.94 kB / 479.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/1.231, allocations: 6.031 kB / 479.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.863e-05/1.231, allocations: 82.66 kB / 479.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.231, allocations: 0 / 479.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004959/1.231, allocations: 100.8 kB / 480 MB, free: 11.18 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.0003854/1.232, allocations: 203.6 kB / 480.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004482/1.232, allocations: 314.1 kB / 480.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.232, allocations: 0 / 480.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/1.232, allocations: 172.1 kB / 480.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009734/1.233, allocations: 171.5 kB / 480.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/1.234, allocations: 0.8399 MB / 481.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/1.235, allocations: 0.8004 MB / 482.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/1.235, allocations: 24.03 kB / 482.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/1.235, allocations: 0 / 482.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of Templates: time 0.00684/1.242, allocations: 3.605 MB / 486.1 MB, free: 8.984 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)