Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008891/0.000889, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009678/0.0009679, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004819, allocations: 16.06 kB / 0.6736 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1935, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001221/0.1947, allocations: 1.006 MB / 0.7881 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009391/0.1957, allocations: 0.6853 MB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.945e-05/0.1957, allocations: 0 / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.063e-05/0.1957, allocations: 0 / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-05/0.1958, allocations: 7.922 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.1961, allocations: 71.75 kB / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.309e-05/0.1961, allocations: 15.97 kB / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.1962, allocations: 0 / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.255e-05/0.1962, allocations: 8 kB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.1963, allocations: 11.92 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1963, allocations: 4 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.1966, allocations: 155.8 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.215e-06/0.1966, allocations: 4 kB / 0.789 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.1966, allocations: 29.7 kB / 0.7891 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.1968, allocations: 72.11 kB / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.1968, allocations: 0 / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1968, allocations: 0 / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.1968, allocations: 0 / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003006/0.1971, allocations: 331.4 kB / 0.7895 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.1971, allocations: 11.97 kB / 0.7895 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.1972, allocations: 3.906 kB / 0.7895 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.1973, allocations: 174.9 kB / 0.7896 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1974, allocations: 0 / 0.7896 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1974, allocations: 0 / 0.7896 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.977e-05/0.1975, allocations: 37.69 kB / 0.7897 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1975, allocations: 0 / 0.7897 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.1975, allocations: 0 / 0.7897 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1975, allocations: 4 kB / 0.7897 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.295e-05/0.1975, allocations: 8 kB / 0.7897 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.1977, allocations: 157.6 kB / 0.7898 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.568e-05/0.1978, allocations: 42.53 kB / 0.7899 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002274/0.2001, allocations: 1.027 MB / 0.7909 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.2001, allocations: 38.56 kB / 0.7909 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2001, allocations: 4 kB / 0.7909 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000133/0.2002, allocations: 45.69 kB / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.2003, allocations: 55.34 kB / 0.791 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.396e-05/0.2003, allocations: 93.86 kB / 0.7911 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.2004, allocations: 25.7 kB / 0.7911 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.2004, allocations: 80.14 kB / 0.7912 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.2004, allocations: 11.89 kB / 0.7912 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.2004, allocations: 4.125 kB / 0.7912 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.521e-05/0.2005, allocations: 314.8 kB / 0.7915 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.2006, allocations: 0 / 0.7915 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.2006, allocations: 8 kB / 0.7915 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.991e-05/0.2006, allocations: 7.953 kB / 0.7915 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2006, allocations: 0 / 0.7915 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.581e-05/0.2007, allocations: 49.62 kB / 0.7916 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2007, allocations: 4 kB / 0.7916 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2007, allocations: 0 / 0.7916 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2007, allocations: 0 / 0.7916 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.629e-05/0.2008, allocations: 15.92 kB / 0.7916 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2008, allocations: 4 kB / 0.7916 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.2008, allocations: 3.906 kB / 0.7916 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.2008, allocations: 0 / 0.7916 GB, free: 7.07 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.916e-05/0.2009, allocations: 109.8 kB / 0.7917 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-06/0.2009, allocations: 7.938 kB / 0.7917 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.201, allocations: 53.19 kB / 0.7918 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.201, allocations: 4 kB / 0.7918 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.201, allocations: 0 / 0.7918 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.2011, allocations: 0 / 0.7918 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.2012, allocations: 153.7 kB / 0.7919 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2012, allocations: 3.953 kB / 0.7919 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.2012, allocations: 4 kB / 0.7919 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2012, allocations: 3.984 kB / 0.7919 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.2012, allocations: 11.94 kB / 0.7919 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2012, allocations: 0 / 0.7919 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2012, allocations: 0 / 0.7919 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.2013, allocations: 69.12 kB / 0.792 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.2014, allocations: 81.06 kB / 0.7921 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.2014, allocations: 0 / 0.7921 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.479e-05/0.2014, allocations: 4 kB / 0.7921 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.2014, allocations: 432 / 0.7921 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2014, allocations: 4 kB / 0.7921 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.012e-05/0.2015, allocations: 79.28 kB / 0.7922 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2015, allocations: 0 / 0.7922 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002243/0.2017, allocations: 36.02 kB / 0.7922 GB, free: 6.348 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002319/0.2019, allocations: 134 kB / 0.7923 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.569e-05/0.202, allocations: 19.92 kB / 0.7924 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.202, allocations: 3.938 kB / 0.7924 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.546e-05/0.2021, allocations: 12 kB / 0.7924 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.2022, allocations: 2.438 kB / 0.7924 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002331/0.2024, allocations: 122.5 kB / 0.7925 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.2027, allocations: 0.677 MB / 0.7931 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.2027, allocations: 7.984 kB / 0.7932 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/0.2028, allocations: 7.438 kB / 0.7932 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2028, allocations: 4 kB / 0.7932 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of Templates: time 0.002977/0.2058, allocations: 0.8724 MB / 0.794 GB, free: 4.445 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) Environment - environmentSimulation: