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.001442/0.001442, allocations: 106.1 kB / 16.41 MB, free: 6.508 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.00161/0.00161, allocations: 183 kB / 17.34 MB, free: 5.766 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01163/0.01163, allocations: 2.779 MB / 294 MB, free: 11.99 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 406.6 MB, free: 29.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07973/0.08095, allocations: 50.24 MB / 456.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.01891/0.09989, allocations: 19.11 MB / 476 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005279/0.1052, allocations: 6.08 MB / 482 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.1055, allocations: 0 / 482 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006381/0.1061, allocations: 258.5 kB / 482.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002871/0.109, allocations: 1.21 MB / 483.5 MB, free: 8 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1094, allocations: 87.47 kB / 483.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.1098, allocations: 305.7 kB / 483.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.951e-05/0.1099, allocations: 20.73 kB / 483.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.11, allocations: 95.55 kB / 484 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.1102, allocations: 119.4 kB / 484.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1102, allocations: 8 kB / 484.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6839/0.7941, allocations: 38.93 MB / 0.5108 GB, free: 35.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.7942, allocations: 33.19 kB / 0.5108 GB, free: 35.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002885/0.7945, allocations: 127.5 kB / 0.5109 GB, free: 35.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002462/0.7969, allocations: 0.5121 MB / 0.5114 GB, free: 35.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7969, allocations: 0 / 0.5114 GB, free: 35.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.7969, allocations: 0 / 0.5114 GB, free: 35.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.797, allocations: 1.094 kB / 0.5114 GB, free: 35.16 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.0008337/0.7978, allocations: 0.5732 MB / 0.512 GB, free: 34.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.7979, allocations: 18.02 kB / 0.512 GB, free: 34.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.7989, allocations: 200.3 kB / 0.5122 GB, free: 34.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.799, allocations: 193.3 kB / 0.5124 GB, free: 34.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.7991, allocations: 18.44 kB / 0.5124 GB, free: 34.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.7991, allocations: 23.53 kB / 0.5124 GB, free: 34.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.7997, allocations: 341.6 kB / 0.5128 GB, free: 34.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.7997, allocations: 1.594 kB / 0.5128 GB, free: 34.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.7997, allocations: 8.125 kB / 0.5128 GB, free: 34.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.7997, allocations: 14.58 kB / 0.5128 GB, free: 34.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.8001, allocations: 262.2 kB / 0.513 GB, free: 34.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.8018, allocations: 2.123 MB / 0.5151 GB, free: 32.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.802, allocations: 133.7 kB / 0.5152 GB, free: 32.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.8021, allocations: 112.9 kB / 0.5153 GB, free: 32.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006208/0.8028, allocations: 0.6902 MB / 0.516 GB, free: 31.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.8028, allocations: 39.42 kB / 0.5161 GB, free: 31.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.453e-06/0.8028, allocations: 1.062 kB / 0.5161 GB, free: 31.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004444/0.8032, allocations: 183.7 kB / 0.5162 GB, free: 31.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.8033, allocations: 78.17 kB / 0.5163 GB, free: 31.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/0.8034, allocations: 102.7 kB / 0.5164 GB, free: 31.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.8034, allocations: 33.98 kB / 0.5164 GB, free: 31.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.8035, allocations: 165.1 kB / 0.5166 GB, free: 31.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.922e-05/0.8036, allocations: 104.8 kB / 0.5167 GB, free: 31.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/0.8037, allocations: 38.44 kB / 0.5167 GB, free: 31.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.8037, allocations: 325.7 kB / 0.517 GB, free: 30.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-05/0.8038, allocations: 40.2 kB / 0.5171 GB, free: 30.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.8039, allocations: 85.83 kB / 0.5172 GB, free: 30.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.8042, allocations: 137.9 kB / 0.5173 GB, free: 30.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.8042, allocations: 0.5312 kB / 0.5173 GB, free: 30.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003176/0.8045, allocations: 172.8 kB / 0.5175 GB, free: 30.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.8045, allocations: 5.781 kB / 0.5175 GB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.8045, allocations: 2.312 kB / 0.5175 GB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.8046, allocations: 2.125 kB / 0.5175 GB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.8046, allocations: 10.09 kB / 0.5175 GB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.8047, allocations: 5.406 kB / 0.5175 GB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.792e-05/0.8048, allocations: 20.28 kB / 0.5175 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.8048, allocations: 7.875 kB / 0.5175 GB, free: 30.75 MB / 382.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.0001082/0.8049, allocations: 134.4 kB / 0.5176 GB, free: 30.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.805, allocations: 8.234 kB / 0.5176 GB, free: 30.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.805, allocations: 13.31 kB / 0.5177 GB, free: 30.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.805, allocations: 1.344 kB / 0.5177 GB, free: 30.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.805, allocations: 0.5938 kB / 0.5177 GB, free: 30.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.805, allocations: 0.75 kB / 0.5177 GB, free: 30.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.8054, allocations: 278.2 kB / 0.5179 GB, free: 30.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.8054, allocations: 0 / 0.5179 GB, free: 30.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.8055, allocations: 4.297 kB / 0.5179 GB, free: 30.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.8055, allocations: 5.234 kB / 0.5179 GB, free: 30.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.8055, allocations: 1.984 kB / 0.5179 GB, free: 30.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.8055, allocations: 8 kB / 0.5179 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.8055, allocations: 0.875 kB / 0.5179 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.8075, allocations: 316.8 kB / 0.5182 GB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.8075, allocations: 96.67 kB / 0.5183 GB, free: 30.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.8075, allocations: 3.938 kB / 0.5183 GB, free: 30.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.8077, allocations: 1.938 kB / 0.5183 GB, free: 30.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.8077, allocations: 11 kB / 0.5184 GB, free: 30.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.8077, allocations: 2.469 kB / 0.5184 GB, free: 30.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.074e-05/0.8077, allocations: 80.08 kB / 0.5184 GB, free: 30.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8077, allocations: 3.938 kB / 0.5184 GB, free: 30.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005101/0.8083, allocations: 93.78 kB / 0.5185 GB, free: 29.98 MB / 382.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.000365/0.8086, allocations: 175.3 kB / 0.5187 GB, free: 29.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003342/0.809, allocations: 230.8 kB / 0.5189 GB, free: 29.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.809, allocations: 0 / 0.5189 GB, free: 29.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.8092, allocations: 201.9 kB / 0.5191 GB, free: 29.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/0.8099, allocations: 86.59 kB / 0.5192 GB, free: 29.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009121/0.8108, allocations: 0.5648 MB / 0.5197 GB, free: 29.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.8112, allocations: 0.797 MB / 0.5205 GB, free: 28.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.8112, allocations: 27 kB / 0.5205 GB, free: 28.64 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.8112, allocations: 0 / 0.5205 GB, free: 28.64 MB / 382.1 MB Notification: Performance of Templates: time 0.009209/0.8205, allocations: 3.707 MB / 0.5242 GB, free: 28.17 MB / 382.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)