Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009639/0.000964, allocations: 167 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008543/0.0008542, allocations: 93.53 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003352, allocations: 9.312 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1986, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001277/0.1999, allocations: 1.017 MB / 0.9025 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.201, allocations: 0.7668 MB / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.055e-05/0.2011, allocations: 0 / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.2011, allocations: 0 / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.2012, allocations: 0 / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.2015, allocations: 83.92 kB / 0.9033 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.213e-05/0.2016, allocations: 15.92 kB / 0.9033 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.2016, allocations: 4 kB / 0.9033 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.234e-05/0.2017, allocations: 7.938 kB / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.2017, allocations: 4 kB / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.2017, allocations: 0 / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.2021, allocations: 164.9 kB / 0.9035 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.2021, allocations: 4 kB / 0.9035 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.2021, allocations: 29.7 kB / 0.9035 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.2023, allocations: 67.89 kB / 0.9036 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2023, allocations: 0 / 0.9036 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2023, allocations: 0 / 0.9036 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.2023, allocations: 4 kB / 0.9036 GB, free: 61.3 MB / 0.6042 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.000299/0.2026, allocations: 335.7 kB / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2026, allocations: 12.03 kB / 0.9039 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.2027, allocations: 0.9375 kB / 0.9039 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.681e-05/0.2028, allocations: 164.3 kB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2028, allocations: 8.375 kB / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.2028, allocations: 384 / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.146e-05/0.2029, allocations: 41.94 kB / 0.9041 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2029, allocations: 0 / 0.9041 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2029, allocations: 4 kB / 0.9041 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2029, allocations: 0 / 0.9041 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.373e-05/0.203, allocations: 8 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.2031, allocations: 153.7 kB / 0.9043 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.669e-05/0.2032, allocations: 38.61 kB / 0.9043 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.2032, allocations: 8.922 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002089/0.2053, allocations: 1.035 MB / 0.9053 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.2054, allocations: 38.5 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.2054, allocations: 4 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001424/0.2055, allocations: 45.69 kB / 0.9054 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.2055, allocations: 51.41 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.797e-05/0.2056, allocations: 97.84 kB / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.844e-06/0.2056, allocations: 29.7 kB / 0.9056 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.524e-05/0.2056, allocations: 80.14 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.2057, allocations: 15.75 kB / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.2057, allocations: 0 / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.2057, allocations: 315 kB / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.2057, allocations: 8 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-06/0.2058, allocations: 7.922 kB / 0.906 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.177e-05/0.2058, allocations: 16.86 kB / 0.906 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2058, allocations: 0 / 0.906 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.118e-05/0.2059, allocations: 45.97 kB / 0.906 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2059, allocations: 7.938 kB / 0.9061 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2059, allocations: 0 / 0.9061 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2059, allocations: 7.938 kB / 0.9061 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.095e-05/0.206, allocations: 4 kB / 0.9061 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.206, allocations: 4 kB / 0.9061 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.206, allocations: 48 / 0.9061 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.206, allocations: 7.984 kB / 0.9061 GB, free: 58.44 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.2061, allocations: 113.8 kB / 0.9062 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.2061, allocations: 7.922 kB / 0.9062 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.2062, allocations: 57.12 kB / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2062, allocations: 0 / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2062, allocations: 0 / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2062, allocations: 4 kB / 0.9063 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.638e-05/0.2063, allocations: 153.6 kB / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2063, allocations: 4 kB / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.2063, allocations: 4 kB / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2063, allocations: 3.938 kB / 0.9064 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.2064, allocations: 4 kB / 0.9064 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2064, allocations: 0 / 0.9064 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2064, allocations: 0 / 0.9064 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.768e-05/0.2064, allocations: 73.06 kB / 0.9065 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.2065, allocations: 85.05 kB / 0.9066 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.2065, allocations: 3.984 kB / 0.9066 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.181e-05/0.2065, allocations: 0 / 0.9066 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.2065, allocations: 0 / 0.9066 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2065, allocations: 4 kB / 0.9066 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.821e-05/0.2065, allocations: 79.28 kB / 0.9066 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2066, allocations: 0 / 0.9066 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000205/0.2068, allocations: 28 kB / 0.9067 GB, free: 57.72 MB / 0.6042 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 (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.0002229/0.207, allocations: 135.2 kB / 0.9068 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.453e-05/0.2071, allocations: 19.94 kB / 0.9068 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2071, allocations: 0 / 0.9068 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-05/0.2071, allocations: 4 kB / 0.9068 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.2073, allocations: 17.95 kB / 0.9068 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.2075, allocations: 145.2 kB / 0.907 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.494e-05/0.2076, allocations: 0.6731 MB / 0.9076 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.2077, allocations: 11.44 kB / 0.9076 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.2077, allocations: 0 / 0.9076 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.002098/0.2098, allocations: 0.9016 MB / 0.9085 GB, free: 55.76 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)