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.008526/0.008526, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.00162/0.00162, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01253/0.01253, allocations: 2.783 MB / 293.3 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.89 kB / 405.9 MB, free: 29.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1228, allocations: 50.23 MB / 456.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSupercritical): time 0.03881/0.1617, allocations: 19.13 MB / 475.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.1725, allocations: 6.076 MB / 481.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003585/0.1729, allocations: 0 / 481.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.1745, allocations: 258.5 kB / 481.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008242/0.1827, allocations: 1.21 MB / 482.8 MB, free: 0 / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.1834, allocations: 87.36 kB / 482.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007992/0.1842, allocations: 293.8 kB / 483.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.1844, allocations: 32.72 kB / 483.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.1847, allocations: 87.53 kB / 483.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.1851, allocations: 119.4 kB / 483.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.1852, allocations: 8 kB / 483.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.7499/0.935, allocations: 38.93 MB / 0.5101 GB, free: 35.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.851e-05/0.9351, allocations: 35.67 kB / 0.5102 GB, free: 35.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.9354, allocations: 127.8 kB / 0.5103 GB, free: 35.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002574/0.938, allocations: 0.5103 MB / 0.5108 GB, free: 35.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.938, allocations: 0.8438 kB / 0.5108 GB, free: 35.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.938, allocations: 0 / 0.5108 GB, free: 35.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.938, allocations: 0 / 0.5108 GB, free: 35.13 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.0008091/0.9388, allocations: 0.5766 MB / 0.5114 GB, free: 34.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.9389, allocations: 9.625 kB / 0.5114 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008853/0.9398, allocations: 202.6 kB / 0.5116 GB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.9399, allocations: 188.8 kB / 0.5117 GB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.9399, allocations: 18.56 kB / 0.5118 GB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.94, allocations: 23.81 kB / 0.5118 GB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.9405, allocations: 344 kB / 0.5121 GB, free: 34.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.9407, allocations: 2.906 kB / 0.5121 GB, free: 34.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.9407, allocations: 9.719 kB / 0.5121 GB, free: 34.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.9407, allocations: 13.73 kB / 0.5121 GB, free: 34.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.9411, allocations: 260.9 kB / 0.5124 GB, free: 34.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.9426, allocations: 2.119 MB / 0.5144 GB, free: 32.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.9428, allocations: 133.2 kB / 0.5146 GB, free: 32.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.9429, allocations: 107.6 kB / 0.5147 GB, free: 32.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005212/0.9434, allocations: 0.696 MB / 0.5154 GB, free: 31.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.9435, allocations: 35.78 kB / 0.5154 GB, free: 31.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.312e-06/0.9435, allocations: 0.5938 kB / 0.5154 GB, free: 31.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004085/0.9439, allocations: 183 kB / 0.5156 GB, free: 31.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.9439, allocations: 79.08 kB / 0.5156 GB, free: 31.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.944, allocations: 102.7 kB / 0.5157 GB, free: 31.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.944, allocations: 32.75 kB / 0.5158 GB, free: 31.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.9441, allocations: 166 kB / 0.5159 GB, free: 31.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.9442, allocations: 110.9 kB / 0.516 GB, free: 31.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.9442, allocations: 35.72 kB / 0.5161 GB, free: 31.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.257e-05/0.9443, allocations: 327.2 kB / 0.5164 GB, free: 30.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.858e-05/0.9444, allocations: 34.8 kB / 0.5164 GB, free: 30.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.943e-05/0.9445, allocations: 89.09 kB / 0.5165 GB, free: 30.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.9447, allocations: 140.1 kB / 0.5166 GB, free: 30.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.9447, allocations: 0.5625 kB / 0.5166 GB, free: 30.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002238/0.9449, allocations: 165 kB / 0.5168 GB, free: 30.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.9449, allocations: 5.781 kB / 0.5168 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.9449, allocations: 1.156 kB / 0.5168 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.945, allocations: 2.375 kB / 0.5168 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.945, allocations: 10.42 kB / 0.5168 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.9451, allocations: 1.594 kB / 0.5168 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.203e-05/0.9451, allocations: 26.31 kB / 0.5168 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.9452, allocations: 4.062 kB / 0.5168 GB, free: 30.73 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 8.073e-05/0.9452, allocations: 136.5 kB / 0.517 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.9453, allocations: 9.531 kB / 0.517 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.9453, allocations: 14.3 kB / 0.517 GB, free: 30.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.9453, allocations: 192 / 0.517 GB, free: 30.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.9454, allocations: 5.375 kB / 0.517 GB, free: 30.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9454, allocations: 4.688 kB / 0.517 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.9457, allocations: 276.4 kB / 0.5173 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.9457, allocations: 2.625 kB / 0.5173 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.9457, allocations: 3.859 kB / 0.5173 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.9457, allocations: 0 / 0.5173 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.9457, allocations: 6.797 kB / 0.5173 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9458, allocations: 1.734 kB / 0.5173 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9458, allocations: 4.438 kB / 0.5173 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.9472, allocations: 316.1 kB / 0.5176 GB, free: 30.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.9472, allocations: 94.5 kB / 0.5177 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.9472, allocations: 1.406 kB / 0.5177 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.9473, allocations: 1.344 kB / 0.5177 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.9474, allocations: 8.188 kB / 0.5177 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.9474, allocations: 6.375 kB / 0.5177 GB, free: 30.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.389e-05/0.9474, allocations: 83.16 kB / 0.5178 GB, free: 29.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.9474, allocations: 0 / 0.5178 GB, free: 29.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004163/0.9478, allocations: 94.69 kB / 0.5179 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.0003095/0.9481, allocations: 191 kB / 0.518 GB, free: 29.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.9484, allocations: 228.5 kB / 0.5183 GB, free: 29.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.9484, allocations: 0 / 0.5183 GB, free: 29.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.9486, allocations: 200.5 kB / 0.5185 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.0006676/0.9493, allocations: 87.3 kB / 0.5185 GB, free: 29.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007491/0.95, allocations: 0.5135 MB / 0.519 GB, free: 29.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.9503, allocations: 0.7994 MB / 0.5198 GB, free: 28.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.9504, allocations: 26.02 kB / 0.5198 GB, free: 28.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.9505, allocations: 22.41 kB / 0.5199 GB, free: 28.63 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.9505, allocations: 0 / 0.5199 GB, free: 28.63 MB / 382.1 MB Notification: Performance of Templates: time 0.01086/0.9614, allocations: 4.794 MB / 0.5245 GB, free: 28.05 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)