Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.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.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01144/0.01144, allocations: 95.97 kB / 15.73 MB, free: 6.051 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.002099/0.002099, allocations: 197.8 kB / 16.67 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1343/0.1343, allocations: 2.759 MB / 293.3 MB, free: 3.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.91 kB / 405.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.289, allocations: 50.23 MB / 456.1 MB, free: 21.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.01469/0.3037, allocations: 19.13 MB / 475.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005082/0.3089, allocations: 6.083 MB / 481.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.3092, allocations: 1.312 kB / 481.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008769/0.3102, allocations: 255.2 kB / 481.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003621/0.3138, allocations: 1.202 MB / 482.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.3141, allocations: 87.86 kB / 482.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.3146, allocations: 308.5 kB / 483.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.468e-05/0.3146, allocations: 26.05 kB / 483.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.989e-05/0.3147, allocations: 91.08 kB / 483.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3149, allocations: 118.9 kB / 483.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.3149, allocations: 8.438 kB / 483.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5004/0.8154, allocations: 38.93 MB / 0.5101 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.838e-05/0.8155, allocations: 35.72 kB / 0.5102 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000294/0.8158, allocations: 135.3 kB / 0.5103 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00282/0.8186, allocations: 0.5061 MB / 0.5108 GB, free: 3.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.8186, allocations: 0 / 0.5108 GB, free: 3.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.8186, allocations: 0 / 0.5108 GB, free: 3.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.8187, allocations: 0 / 0.5108 GB, free: 3.141 MB / 382.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.0009378/0.8196, allocations: 0.5648 MB / 0.5113 GB, free: 2.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.8197, allocations: 20.02 kB / 0.5114 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008681/0.8205, allocations: 200.5 kB / 0.5116 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.8207, allocations: 192 kB / 0.5117 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.8207, allocations: 16.94 kB / 0.5118 GB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.8208, allocations: 27.94 kB / 0.5118 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.8212, allocations: 341.6 kB / 0.5121 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.8213, allocations: 0 / 0.5121 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.8213, allocations: 8 kB / 0.5121 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.8213, allocations: 15.98 kB / 0.5121 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.8216, allocations: 267.8 kB / 0.5124 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.8234, allocations: 2.115 MB / 0.5145 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.8236, allocations: 133.2 kB / 0.5146 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.8237, allocations: 110 kB / 0.5147 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006026/0.8243, allocations: 0.6964 MB / 0.5154 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.8244, allocations: 30.56 kB / 0.5154 GB, free: 13.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.342e-06/0.8244, allocations: 3.938 kB / 0.5154 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.000374/0.8248, allocations: 189.9 kB / 0.5156 GB, free: 13.69 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.8248, allocations: 81.11 kB / 0.5157 GB, free: 13.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.932e-05/0.8249, allocations: 105.8 kB / 0.5158 GB, free: 13.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.825, allocations: 33.77 kB / 0.5158 GB, free: 13.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.825, allocations: 160.5 kB / 0.5159 GB, free: 13.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.8252, allocations: 103 kB / 0.516 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.8252, allocations: 41.7 kB / 0.5161 GB, free: 13.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.8253, allocations: 322.8 kB / 0.5164 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.012e-05/0.8254, allocations: 39.98 kB / 0.5164 GB, free: 12.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.725e-05/0.8255, allocations: 92.8 kB / 0.5165 GB, free: 12.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.8257, allocations: 137.7 kB / 0.5166 GB, free: 12.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8257, allocations: 3.938 kB / 0.5166 GB, free: 12.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002354/0.8259, allocations: 165.8 kB / 0.5168 GB, free: 12.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.826, allocations: 8 kB / 0.5168 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.826, allocations: 0 / 0.5168 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.826, allocations: 7.984 kB / 0.5168 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.8261, allocations: 12 kB / 0.5168 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.8261, allocations: 4 kB / 0.5168 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.583e-05/0.8262, allocations: 15.84 kB / 0.5169 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.8262, allocations: 11.88 kB / 0.5169 GB, free: 12.27 MB / 398.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.0001312/0.8263, allocations: 127.6 kB / 0.517 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.8264, allocations: 7.953 kB / 0.517 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/0.8264, allocations: 20.42 kB / 0.517 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.8264, allocations: 0 / 0.517 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.8264, allocations: 0 / 0.517 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.8264, allocations: 0 / 0.517 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.8268, allocations: 281.3 kB / 0.5173 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.8268, allocations: 0 / 0.5173 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.8268, allocations: 4 kB / 0.5173 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.8268, allocations: 0 / 0.5173 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.8269, allocations: 4 kB / 0.5173 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8269, allocations: 4 kB / 0.5173 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8269, allocations: 0 / 0.5173 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.8296, allocations: 319.1 kB / 0.5176 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/0.8297, allocations: 96.94 kB / 0.5177 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.8297, allocations: 0 / 0.5177 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.8298, allocations: 0 / 0.5177 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.8298, allocations: 4 kB / 0.5177 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.8299, allocations: 15.94 kB / 0.5177 GB, free: 11.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.929e-05/0.8299, allocations: 79.22 kB / 0.5178 GB, free: 11.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8299, allocations: 4 kB / 0.5178 GB, free: 11.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.8304, allocations: 95.64 kB / 0.5179 GB, free: 11.14 MB / 398.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.0004085/0.8308, allocations: 177.6 kB / 0.518 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003854/0.8312, allocations: 224.3 kB / 0.5183 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.8313, allocations: 4 kB / 0.5183 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.8314, allocations: 197.3 kB / 0.5185 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006753/0.8321, allocations: 87.94 kB / 0.5185 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007875/0.8329, allocations: 0.5188 MB / 0.519 GB, free: 9.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.8333, allocations: 0.7956 MB / 0.5198 GB, free: 9.051 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.8334, allocations: 25.19 kB / 0.5198 GB, free: 9.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.8335, allocations: 27.38 kB / 0.5199 GB, free: 9.004 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.8335, allocations: 0 / 0.5199 GB, free: 9.004 MB / 398.1 MB Notification: Performance of Templates: time 0.01049/0.844, allocations: 4.794 MB / 0.5246 GB, free: 4.227 MB / 398.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical.pipe 2>&1)