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.006411/0.006411, allocations: 101.1 kB / 15.73 MB, free: 6.039 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: 189.1 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1162/0.1162, allocations: 2.77 MB / 293.3 MB, free: 3.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.89 kB / 405.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2798, allocations: 50.23 MB / 456.1 MB, free: 21.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.01649/0.2963, allocations: 19.13 MB / 475.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004191/0.3005, allocations: 6.084 MB / 481.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.3008, allocations: 0 / 481.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006718/0.3016, allocations: 251.1 kB / 481.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.3049, allocations: 1.21 MB / 482.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.3052, allocations: 84.14 kB / 482.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.3055, allocations: 307.4 kB / 483.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.089e-05/0.3056, allocations: 26.84 kB / 483.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.264e-05/0.3057, allocations: 94.52 kB / 483.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.3059, allocations: 110.3 kB / 483.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3059, allocations: 7.781 kB / 483.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.476/0.7819, allocations: 38.94 MB / 0.5101 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.324e-05/0.782, allocations: 31.73 kB / 0.5102 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.7823, allocations: 135.3 kB / 0.5103 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002446/0.7848, allocations: 0.5025 MB / 0.5108 GB, free: 3.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7848, allocations: 0 / 0.5108 GB, free: 3.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.7848, allocations: 0 / 0.5108 GB, free: 3.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.7848, allocations: 4 kB / 0.5108 GB, free: 3.129 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.001164/0.786, allocations: 0.5617 MB / 0.5113 GB, free: 2.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.7861, allocations: 12.03 kB / 0.5113 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008489/0.7869, allocations: 200.4 kB / 0.5115 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.7871, allocations: 188.1 kB / 0.5117 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.7871, allocations: 20.88 kB / 0.5117 GB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.7872, allocations: 31.92 kB / 0.5118 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.7877, allocations: 337.6 kB / 0.5121 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.7877, allocations: 0 / 0.5121 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.7877, allocations: 12 kB / 0.5121 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.7877, allocations: 7.984 kB / 0.5121 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.7881, allocations: 263.9 kB / 0.5124 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.7899, allocations: 2.122 MB / 0.5144 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.7901, allocations: 137.1 kB / 0.5146 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.7902, allocations: 109.8 kB / 0.5147 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006388/0.7908, allocations: 0.6929 MB / 0.5153 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.7909, allocations: 34.55 kB / 0.5154 GB, free: 13.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.843e-06/0.7909, allocations: 0 / 0.5154 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003955/0.7913, allocations: 186 kB / 0.5156 GB, free: 13.69 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.7914, allocations: 81.17 kB / 0.5156 GB, free: 13.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.7915, allocations: 101.8 kB / 0.5157 GB, free: 13.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.7915, allocations: 25.7 kB / 0.5158 GB, free: 13.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.908e-05/0.7916, allocations: 164 kB / 0.5159 GB, free: 13.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.7917, allocations: 102.5 kB / 0.516 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.7918, allocations: 37.7 kB / 0.516 GB, free: 13.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7919, allocations: 322.8 kB / 0.5163 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.982e-05/0.792, allocations: 39.98 kB / 0.5164 GB, free: 12.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-05/0.7921, allocations: 84.86 kB / 0.5165 GB, free: 12.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.7923, allocations: 153.6 kB / 0.5166 GB, free: 12.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.7923, allocations: 0 / 0.5166 GB, free: 12.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002442/0.7925, allocations: 161.6 kB / 0.5168 GB, free: 12.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.7926, allocations: 11.98 kB / 0.5168 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.7926, allocations: 0 / 0.5168 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.7926, allocations: 4 kB / 0.5168 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.7927, allocations: 8 kB / 0.5168 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.7927, allocations: 0 / 0.5168 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.625e-05/0.7928, allocations: 16.03 kB / 0.5168 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.7928, allocations: 11.94 kB / 0.5168 GB, free: 12.3 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.0001183/0.7929, allocations: 131.3 kB / 0.5169 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.793, allocations: 11.81 kB / 0.517 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.793, allocations: 12.42 kB / 0.517 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.793, allocations: 4 kB / 0.517 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.793, allocations: 0 / 0.517 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.793, allocations: 0 / 0.517 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.7934, allocations: 281.5 kB / 0.5172 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.7934, allocations: 3.938 kB / 0.5172 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.7934, allocations: 8 kB / 0.5173 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.7935, allocations: 3.984 kB / 0.5173 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.7935, allocations: 4 kB / 0.5173 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.7935, allocations: 4 kB / 0.5173 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7935, allocations: 0 / 0.5173 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.7951, allocations: 315.1 kB / 0.5176 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.7952, allocations: 96.84 kB / 0.5177 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.7952, allocations: 8 kB / 0.5177 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.7953, allocations: 0 / 0.5177 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.7954, allocations: 4 kB / 0.5177 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.7954, allocations: 7.938 kB / 0.5177 GB, free: 11.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.726e-05/0.7954, allocations: 79.27 kB / 0.5177 GB, free: 11.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7954, allocations: 3.938 kB / 0.5178 GB, free: 11.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004318/0.7959, allocations: 87.69 kB / 0.5178 GB, free: 11.16 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.0003835/0.7963, allocations: 185.2 kB / 0.518 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.7966, allocations: 224 kB / 0.5182 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7966, allocations: 0 / 0.5182 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.7968, allocations: 201.4 kB / 0.5184 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006875/0.7975, allocations: 84.41 kB / 0.5185 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008571/0.7984, allocations: 0.5077 MB / 0.519 GB, free: 9.906 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.7988, allocations: 0.7956 MB / 0.5198 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.7989, allocations: 29.19 kB / 0.5198 GB, free: 9.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.799, allocations: 23.44 kB / 0.5198 GB, free: 9.031 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.799, allocations: 0 / 0.5198 GB, free: 9.031 MB / 398.1 MB Notification: Performance of Templates: time 0.01059/0.8096, allocations: 4.808 MB / 0.5245 GB, free: 4.242 MB / 398.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)