Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1925/0.1933, allocations: 82.22 MB / 0.5941 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001766/0.1951, allocations: 0.9992 MB / 0.5951 GB, free: 4.523 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1965, allocations: 0.7312 MB / 0.5958 GB, free: 3.785 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.046e-05/0.1966, allocations: 3.938 kB / 0.5958 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.1966, allocations: 0 / 0.5958 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.76e-05/0.1967, allocations: 3.984 kB / 0.5958 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.1971, allocations: 79.98 kB / 0.5959 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.147e-05/0.1971, allocations: 11.94 kB / 0.5959 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/0.1972, allocations: 0 / 0.5959 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.911e-05/0.1972, allocations: 11.94 kB / 0.5959 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.1973, allocations: 7.984 kB / 0.5959 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.1973, allocations: 0 / 0.5959 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.1976, allocations: 152.9 kB / 0.5961 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.1977, allocations: 3.984 kB / 0.5961 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.1977, allocations: 33.64 kB / 0.5961 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.1979, allocations: 112.5 kB / 0.5962 GB, free: 3.367 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1979, allocations: 3.984 kB / 0.5962 GB, free: 3.363 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1979, allocations: 0 / 0.5962 GB, free: 3.363 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.198, allocations: 0 / 0.5962 GB, free: 3.363 MB / 446.1 MB 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.0003715/0.1983, allocations: 335.4 kB / 0.5965 GB, free: 2.988 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1984, allocations: 8.031 kB / 0.5965 GB, free: 2.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.1984, allocations: 4.922 kB / 0.5966 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.1986, allocations: 164.4 kB / 0.5967 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1986, allocations: 3.938 kB / 0.5967 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.1986, allocations: 4 kB / 0.5967 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.1987, allocations: 37.69 kB / 0.5968 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1987, allocations: 3.938 kB / 0.5968 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1988, allocations: 0 / 0.5968 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1988, allocations: 4 kB / 0.5968 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.115e-05/0.1988, allocations: 4 kB / 0.5968 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.199, allocations: 161.6 kB / 0.5969 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.797e-05/0.1991, allocations: 38.61 kB / 0.597 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.1992, allocations: 16.86 kB / 0.597 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002481/0.2017, allocations: 1.031 MB / 0.598 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.2017, allocations: 30.56 kB / 0.598 GB, free: 1.297 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.2017, allocations: 3.938 kB / 0.598 GB, free: 1.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001685/0.2019, allocations: 49.69 kB / 0.5981 GB, free: 1.238 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.2019, allocations: 55.41 kB / 0.5981 GB, free: 1.172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.042e-05/0.202, allocations: 93.86 kB / 0.5982 GB, free: 1.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.202, allocations: 25.7 kB / 0.5982 GB, free: 1.039 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.2021, allocations: 84.12 kB / 0.5983 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.2021, allocations: 15.81 kB / 0.5983 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.2021, allocations: 9.719 kB / 0.5983 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2023, allocations: 310.8 kB / 0.5986 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.2023, allocations: 8.125 kB / 0.5986 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.111e-05/0.2023, allocations: 4 kB / 0.5986 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.2023, allocations: 24.72 kB / 0.5987 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2023, allocations: 4 kB / 0.5987 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.589e-05/0.2024, allocations: 41.69 kB / 0.5987 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2024, allocations: 8 kB / 0.5987 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2025, allocations: 0 / 0.5987 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2025, allocations: 3.938 kB / 0.5987 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.2025, allocations: 8 kB / 0.5987 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2025, allocations: 0 / 0.5987 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.459e-05/0.2026, allocations: 4 kB / 0.5987 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.2026, allocations: 4 kB / 0.5987 GB, free: 0.4922 MB / 446.1 MB 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 8.658e-05/0.2027, allocations: 114.7 kB / 0.5988 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-06/0.2027, allocations: 0 / 0.5988 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.2028, allocations: 57.11 kB / 0.5989 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2028, allocations: 4 kB / 0.5989 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2028, allocations: 0 / 0.5989 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2028, allocations: 0 / 0.5989 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.203, allocations: 165.5 kB / 0.5991 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.203, allocations: 0 / 0.5991 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.203, allocations: 7.938 kB / 0.5991 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.203, allocations: 0 / 0.5991 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.203, allocations: 0 / 0.5991 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.203, allocations: 4 kB / 0.5991 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.203, allocations: 0 / 0.5991 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.2031, allocations: 77.38 kB / 0.5991 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.2032, allocations: 89.05 kB / 0.5992 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.2032, allocations: 0 / 0.5992 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.149e-05/0.2032, allocations: 0 / 0.5992 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.2032, allocations: 7.984 kB / 0.5992 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.2033, allocations: 0 / 0.5992 GB, free: 15.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.738e-05/0.2033, allocations: 75.28 kB / 0.5993 GB, free: 15.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2033, allocations: 0 / 0.5993 GB, free: 15.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.2035, allocations: 24 kB / 0.5993 GB, free: 15.77 MB / 462.1 MB 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.0002637/0.2038, allocations: 131.3 kB / 0.5995 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.67e-05/0.2039, allocations: 11.98 kB / 0.5995 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2039, allocations: 4 kB / 0.5995 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.659e-05/0.2039, allocations: 11.94 kB / 0.5995 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.2041, allocations: 11.92 kB / 0.5995 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.2044, allocations: 116.6 kB / 0.5996 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.2047, allocations: 0.6731 MB / 0.6003 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.162e-05/0.2047, allocations: 7.984 kB / 0.6003 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.601e-05/0.2047, allocations: 11.44 kB / 0.6003 GB, free: 14.74 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2047, allocations: 0 / 0.6003 GB, free: 14.74 MB / 462.1 MB Notification: Performance of Templates: time 0.002874/0.2076, allocations: 0.87 MB / 0.6011 GB, free: 13.91 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) Environment - environmentSimulation: