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.001088/0.001089, allocations: 108.7 kB / 16.41 MB, free: 6.492 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.001224/0.001224, allocations: 185.5 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01142/0.01142, allocations: 2.776 MB / 294 MB, free: 11.99 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.91 kB / 406.6 MB, free: 29.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09955/0.1008, allocations: 50.24 MB / 456.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesTranscritical): time 0.02012/0.1209, allocations: 19.13 MB / 476 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005176/0.1262, allocations: 6.08 MB / 482 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.1264, allocations: 0 / 482 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006855/0.1271, allocations: 254.5 kB / 482.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002832/0.13, allocations: 1.214 MB / 483.5 MB, free: 4 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.1303, allocations: 91.36 kB / 483.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004141/0.1307, allocations: 297.9 kB / 483.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.841e-05/0.1308, allocations: 20.75 kB / 483.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.131, allocations: 91.53 kB / 484 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1312, allocations: 123.4 kB / 484.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.1312, allocations: 4 kB / 484.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7462/0.8773, allocations: 38.94 MB / 0.5108 GB, free: 35.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.305e-05/0.8774, allocations: 33.98 kB / 0.5108 GB, free: 35.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.8777, allocations: 129.2 kB / 0.511 GB, free: 35.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.8797, allocations: 0.5089 MB / 0.5114 GB, free: 35.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8797, allocations: 1.188 kB / 0.5115 GB, free: 35.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.8797, allocations: 0 / 0.5115 GB, free: 35.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.8798, allocations: 0 / 0.5115 GB, free: 35.06 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.000642/0.8804, allocations: 0.5604 MB / 0.512 GB, free: 34.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.8805, allocations: 9.891 kB / 0.512 GB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000797/0.8813, allocations: 203.7 kB / 0.5122 GB, free: 34.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.8814, allocations: 192.1 kB / 0.5124 GB, free: 34.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.8814, allocations: 21.92 kB / 0.5124 GB, free: 34.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.8814, allocations: 22.31 kB / 0.5124 GB, free: 34.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.882, allocations: 343.8 kB / 0.5128 GB, free: 34.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.882, allocations: 0 / 0.5128 GB, free: 34.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.882, allocations: 9.625 kB / 0.5128 GB, free: 34.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.882, allocations: 13.94 kB / 0.5128 GB, free: 34.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.8824, allocations: 261.4 kB / 0.513 GB, free: 34.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.8839, allocations: 2.123 MB / 0.5151 GB, free: 32.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.8841, allocations: 129 kB / 0.5152 GB, free: 32.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.8842, allocations: 105.2 kB / 0.5153 GB, free: 32.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005769/0.8848, allocations: 0.6914 MB / 0.516 GB, free: 31.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.8848, allocations: 36.16 kB / 0.516 GB, free: 31.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.8848, allocations: 4.516 kB / 0.516 GB, free: 31.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004383/0.8853, allocations: 182.2 kB / 0.5162 GB, free: 31.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.8853, allocations: 81.36 kB / 0.5163 GB, free: 31.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/0.8854, allocations: 105.9 kB / 0.5164 GB, free: 31.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.8854, allocations: 29.64 kB / 0.5164 GB, free: 31.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.8855, allocations: 160.2 kB / 0.5166 GB, free: 31.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.503e-05/0.8856, allocations: 108.1 kB / 0.5167 GB, free: 31.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.321e-05/0.8856, allocations: 35.42 kB / 0.5167 GB, free: 31.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.334e-05/0.8857, allocations: 326.9 kB / 0.517 GB, free: 30.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.706e-05/0.8858, allocations: 35.36 kB / 0.5171 GB, free: 30.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.97e-05/0.8859, allocations: 83.62 kB / 0.5171 GB, free: 30.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.8861, allocations: 151.1 kB / 0.5173 GB, free: 30.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8861, allocations: 0.625 kB / 0.5173 GB, free: 30.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002601/0.8863, allocations: 158.4 kB / 0.5174 GB, free: 30.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.8864, allocations: 9.562 kB / 0.5174 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.8864, allocations: 1.312 kB / 0.5174 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.8864, allocations: 2.281 kB / 0.5174 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/0.8865, allocations: 13.62 kB / 0.5175 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.8865, allocations: 1.719 kB / 0.5175 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.727e-05/0.8866, allocations: 19.27 kB / 0.5175 GB, free: 30.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.8866, allocations: 8 kB / 0.5175 GB, free: 30.72 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 9.002e-05/0.8867, allocations: 129 kB / 0.5176 GB, free: 30.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.8868, allocations: 11.62 kB / 0.5176 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.8868, allocations: 18.91 kB / 0.5176 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.8868, allocations: 4.812 kB / 0.5176 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8868, allocations: 0 / 0.5176 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.8868, allocations: 2.875 kB / 0.5176 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.8871, allocations: 272.9 kB / 0.5179 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8871, allocations: 0.5625 kB / 0.5179 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.8872, allocations: 4.328 kB / 0.5179 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.8872, allocations: 1.406 kB / 0.5179 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.8872, allocations: 1.625 kB / 0.5179 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.8872, allocations: 0.7031 kB / 0.5179 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8872, allocations: 1.469 kB / 0.5179 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.8888, allocations: 322.7 kB / 0.5182 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.8889, allocations: 95.48 kB / 0.5183 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.8889, allocations: 1.125 kB / 0.5183 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.889, allocations: 1.859 kB / 0.5183 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.8891, allocations: 2.938 kB / 0.5183 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.8891, allocations: 3.859 kB / 0.5183 GB, free: 30.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.802e-05/0.8891, allocations: 86.33 kB / 0.5184 GB, free: 29.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8891, allocations: 1.406 kB / 0.5184 GB, free: 29.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004856/0.8896, allocations: 88.19 kB / 0.5185 GB, free: 29.96 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.000436/0.89, allocations: 196 kB / 0.5187 GB, free: 29.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003934/0.8904, allocations: 226.5 kB / 0.5189 GB, free: 29.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8905, allocations: 384 / 0.5189 GB, free: 29.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.8906, allocations: 199.8 kB / 0.5191 GB, free: 29.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000694/0.8913, allocations: 84.64 kB / 0.5192 GB, free: 29.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008627/0.8922, allocations: 0.5545 MB / 0.5197 GB, free: 29.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.8925, allocations: 0.7957 MB / 0.5205 GB, free: 28.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.8926, allocations: 23.06 kB / 0.5205 GB, free: 28.61 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.8926, allocations: 0 / 0.5205 GB, free: 28.61 MB / 382.1 MB Notification: Performance of Templates: time 0.009165/0.9018, allocations: 3.703 MB / 0.5241 GB, free: 28.15 MB / 382.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)