Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007068/0.007068, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001333/0.001333, allocations: 189.6 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1366/0.1366, allocations: 2.758 MB / 293.3 MB, free: 3.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 71.83 kB / 405.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3489, allocations: 50.23 MB / 456.2 MB, free: 21.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.06123/0.4102, allocations: 50.71 MB / 0.495 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04069/0.4509, allocations: 29.1 MB / 0.5234 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.452, allocations: 4 kB / 0.5234 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002688/0.4548, allocations: 0.6175 MB / 0.524 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009837/0.4647, allocations: 2.246 MB / 0.5262 GB, free: 2.164 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00979/0.4745, allocations: 2.929 MB / 0.5291 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.4758, allocations: 0.921 MB / 0.53 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.476, allocations: 65.73 kB / 0.53 GB, free: 14.22 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.5629/1.039, allocations: 51.7 MB / 0.5805 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007813/1.04, allocations: 298.6 kB / 0.5808 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/1.04, allocations: 40 kB / 0.5808 GB, free: 11.08 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4319/1.472, allocations: 27.25 MB / 0.6074 GB, free: 64.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000277/1.472, allocations: 114.4 kB / 0.6076 GB, free: 64.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/1.473, allocations: 340.4 kB / 0.6079 GB, free: 64.56 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/1.485, allocations: 1.859 MB / 0.6097 GB, free: 64.47 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/1.485, allocations: 0 / 0.6097 GB, free: 64.47 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.616e-06/1.485, allocations: 3.938 kB / 0.6097 GB, free: 64.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.414e-05/1.485, allocations: 3.844 kB / 0.6097 GB, free: 64.46 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002846/1.488, allocations: 1.126 MB / 0.6108 GB, free: 63.81 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/1.488, allocations: 10.45 kB / 0.6108 GB, free: 63.81 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00299/1.491, allocations: 0.501 MB / 0.6113 GB, free: 63.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006307/1.497, allocations: 332.5 kB / 0.6116 GB, free: 63.55 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/1.497, allocations: 44.89 kB / 0.6117 GB, free: 63.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.414e-05/1.497, allocations: 59.22 kB / 0.6117 GB, free: 63.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/1.499, allocations: 0.8701 MB / 0.6126 GB, free: 63.38 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/1.499, allocations: 7.344 kB / 0.6126 GB, free: 63.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.986e-05/1.499, allocations: 29.25 kB / 0.6126 GB, free: 63.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/1.499, allocations: 31.31 kB / 0.6126 GB, free: 63.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/1.5, allocations: 0.6987 MB / 0.6133 GB, free: 63.38 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/1.504, allocations: 5.011 MB / 0.6182 GB, free: 59.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/1.505, allocations: 329.1 kB / 0.6185 GB, free: 59.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/1.505, allocations: 216.3 kB / 0.6187 GB, free: 59.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/1.506, allocations: 1.536 MB / 0.6202 GB, free: 58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/1.506, allocations: 40.23 kB / 0.6203 GB, free: 57.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=71): time 2.595e-06/1.506, allocations: 0 / 0.6203 GB, free: 57.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=71): time 0.001529/1.508, allocations: 0.6005 MB / 0.6209 GB, free: 57.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/1.508, allocations: 79.61 kB / 0.6209 GB, free: 57.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/1.508, allocations: 180.2 kB / 0.6211 GB, free: 57.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/1.508, allocations: 28.45 kB / 0.6211 GB, free: 57.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/1.508, allocations: 294.9 kB / 0.6214 GB, free: 57.44 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/1.508, allocations: 245.3 kB / 0.6216 GB, free: 57.28 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/1.508, allocations: 95.42 kB / 0.6217 GB, free: 57.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.561e-05/1.508, allocations: 339.5 kB / 0.6221 GB, free: 56.94 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/1.509, allocations: 120.1 kB / 0.6222 GB, free: 56.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/1.509, allocations: 300.3 kB / 0.6225 GB, free: 56.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/1.509, allocations: 491.5 kB / 0.6229 GB, free: 56.51 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.509, allocations: 4.109 kB / 0.6229 GB, free: 56.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007011/1.51, allocations: 488.5 kB / 0.6234 GB, free: 56.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.51, allocations: 11.59 kB / 0.6234 GB, free: 56.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.51, allocations: 9.125 kB / 0.6234 GB, free: 56.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/1.51, allocations: 8.125 kB / 0.6234 GB, free: 56.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/1.51, allocations: 72 kB / 0.6235 GB, free: 56.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/1.511, allocations: 10.75 kB / 0.6235 GB, free: 56.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/1.511, allocations: 63.69 kB / 0.6236 GB, free: 56.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/1.511, allocations: 20.22 kB / 0.6236 GB, free: 56.39 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001841/1.511, allocations: 198.6 kB / 0.6238 GB, free: 56.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/1.511, allocations: 31.66 kB / 0.6238 GB, free: 56.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.735e-05/1.511, allocations: 29.88 kB / 0.6238 GB, free: 56.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/1.511, allocations: 2.062 kB / 0.6238 GB, free: 56.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.511, allocations: 0.6875 kB / 0.6238 GB, free: 56.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.511, allocations: 3.969 kB / 0.6238 GB, free: 56.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005262/1.512, allocations: 499.2 kB / 0.6243 GB, free: 56.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.512, allocations: 5.062 kB / 0.6243 GB, free: 56.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/1.512, allocations: 26.73 kB / 0.6243 GB, free: 56.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/1.512, allocations: 1.125 kB / 0.6243 GB, free: 56.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/1.512, allocations: 14.94 kB / 0.6244 GB, free: 56.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/1.512, allocations: 4.844 kB / 0.6244 GB, free: 56.01 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.512, allocations: 0 / 0.6244 GB, free: 56.01 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/1.512, allocations: 0.5011 MB / 0.6249 GB, free: 55.78 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/1.512, allocations: 115.3 kB / 0.625 GB, free: 55.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/1.513, allocations: 9.719 kB / 0.625 GB, free: 55.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/1.513, allocations: 10.5 kB / 0.625 GB, free: 55.65 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/1.513, allocations: 16.56 kB / 0.625 GB, free: 55.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/1.513, allocations: 9.531 kB / 0.625 GB, free: 55.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.94e-05/1.513, allocations: 119 kB / 0.6251 GB, free: 55.58 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.513, allocations: 0 / 0.6251 GB, free: 55.58 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007156/1.514, allocations: 205.3 kB / 0.6253 GB, free: 55.54 MB / 462.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: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004827/1.514, allocations: 297.1 kB / 0.6256 GB, free: 55.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007669/1.515, allocations: 0.5961 MB / 0.6262 GB, free: 55.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.515, allocations: 0.9688 kB / 0.6262 GB, free: 55.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004049/1.515, allocations: 0.494 MB / 0.6267 GB, free: 54.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/1.516, allocations: 195.2 kB / 0.6269 GB, free: 54.81 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/1.518, allocations: 1.048 MB / 0.6279 GB, free: 54.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/1.519, allocations: 0.9414 MB / 0.6288 GB, free: 53.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004805/1.519, allocations: 262.2 kB / 0.629 GB, free: 53.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/1.519, allocations: 52.05 kB / 0.6291 GB, free: 53.56 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/1.519, allocations: 0 / 0.6291 GB, free: 53.56 MB / 462.1 MB Notification: Performance of Templates: time 0.01795/1.537, allocations: 11.09 MB / 0.6399 GB, free: 45.87 MB / 462.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1)