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.1887/0.1907, allocations: 80.83 MB / 0.5899 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002641/0.1934, allocations: 1.34 MB / 0.5912 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1946, allocations: 0.7115 MB / 0.5919 GB, free: 4.922 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.554e-05/0.1946, allocations: 0 / 0.5919 GB, free: 4.922 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.1947, allocations: 0 / 0.5919 GB, free: 4.922 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.054e-05/0.1948, allocations: 3.984 kB / 0.5919 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.1951, allocations: 88 kB / 0.592 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.325e-05/0.1952, allocations: 15.94 kB / 0.592 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.1952, allocations: 7.984 kB / 0.592 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.1953, allocations: 15.86 kB / 0.592 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.1953, allocations: 4 kB / 0.592 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1953, allocations: 0 / 0.592 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.1956, allocations: 145 kB / 0.5922 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.1956, allocations: 3.984 kB / 0.5922 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.1957, allocations: 7.938 kB / 0.5922 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.1959, allocations: 112.5 kB / 0.5923 GB, free: 4.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1959, allocations: 3.938 kB / 0.5923 GB, free: 4.523 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1959, allocations: 0 / 0.5923 GB, free: 4.523 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1959, allocations: 0 / 0.5923 GB, free: 4.523 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.0003673/0.1963, allocations: 335.4 kB / 0.5926 GB, free: 4.148 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1963, allocations: 12.03 kB / 0.5926 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.1964, allocations: 4.922 kB / 0.5926 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1965, allocations: 160.4 kB / 0.5928 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.1965, allocations: 7.938 kB / 0.5928 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.1965, allocations: 4 kB / 0.5928 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.058e-05/0.1966, allocations: 37.62 kB / 0.5928 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.1966, allocations: 0 / 0.5928 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1966, allocations: 4 kB / 0.5928 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1967, allocations: 0 / 0.5928 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.001e-05/0.1967, allocations: 11.98 kB / 0.5928 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.1969, allocations: 153.6 kB / 0.593 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.418e-05/0.1969, allocations: 38.61 kB / 0.593 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.197, allocations: 12.86 kB / 0.593 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/0.1986, allocations: 0.665 MB / 0.5937 GB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.1987, allocations: 30.56 kB / 0.5937 GB, free: 2.828 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1987, allocations: 0 / 0.5937 GB, free: 2.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001454/0.1988, allocations: 45.69 kB / 0.5937 GB, free: 2.777 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1989, allocations: 55.41 kB / 0.5938 GB, free: 2.711 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.1989, allocations: 93.86 kB / 0.5939 GB, free: 2.609 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.199, allocations: 25.7 kB / 0.5939 GB, free: 2.578 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.199, allocations: 84.27 kB / 0.594 GB, free: 2.492 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.199, allocations: 15.75 kB / 0.594 GB, free: 2.477 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.1991, allocations: 21.7 kB / 0.594 GB, free: 2.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1992, allocations: 310.8 kB / 0.5943 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.1992, allocations: 7.938 kB / 0.5943 GB, free: 2.129 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.013e-05/0.1992, allocations: 0 / 0.5943 GB, free: 2.129 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/0.1993, allocations: 24.8 kB / 0.5944 GB, free: 2.102 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1993, allocations: 3.984 kB / 0.5944 GB, free: 2.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.217e-05/0.1994, allocations: 45.64 kB / 0.5944 GB, free: 2.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1994, allocations: 8 kB / 0.5944 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1994, allocations: 0 / 0.5944 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1994, allocations: 4 kB / 0.5944 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.14e-05/0.1995, allocations: 7.984 kB / 0.5944 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1995, allocations: 3.938 kB / 0.5944 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.1995, allocations: 0 / 0.5944 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.1995, allocations: 336 / 0.5944 GB, free: 2.023 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 7.261e-05/0.1996, allocations: 118.7 kB / 0.5945 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-06/0.1996, allocations: 0 / 0.5945 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.1997, allocations: 57.17 kB / 0.5946 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1997, allocations: 0 / 0.5946 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1998, allocations: 0 / 0.5946 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1998, allocations: 4 kB / 0.5946 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.1999, allocations: 157.6 kB / 0.5947 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1999, allocations: 0 / 0.5947 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.1999, allocations: 7.984 kB / 0.5948 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.1999, allocations: 3.938 kB / 0.5948 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1999, allocations: 0 / 0.5948 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1999, allocations: 7.938 kB / 0.5948 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1999, allocations: 0 / 0.5948 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.455e-05/0.2, allocations: 72.97 kB / 0.5948 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.2001, allocations: 81.11 kB / 0.5949 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.2001, allocations: 4 kB / 0.5949 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.161e-05/0.2001, allocations: 0 / 0.5949 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.2001, allocations: 0 / 0.5949 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.2001, allocations: 4 kB / 0.5949 GB, free: 1.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.18e-05/0.2002, allocations: 83.27 kB / 0.595 GB, free: 1.328 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2002, allocations: 0 / 0.595 GB, free: 1.328 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.2004, allocations: 28 kB / 0.595 GB, free: 1.301 MB / 446.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.0002441/0.2006, allocations: 131.2 kB / 0.5952 GB, free: 1.164 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.638e-05/0.2007, allocations: 20.02 kB / 0.5952 GB, free: 1.145 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2008, allocations: 3.938 kB / 0.5952 GB, free: 1.141 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.577e-05/0.2008, allocations: 8 kB / 0.5952 GB, free: 1.133 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.201, allocations: 11.94 kB / 0.5952 GB, free: 1.121 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.2014, allocations: 114 kB / 0.5953 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.2018, allocations: 0.6768 MB / 0.596 GB, free: 288 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.684e-05/0.2018, allocations: 8 kB / 0.596 GB, free: 280 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.2019, allocations: 7.438 kB / 0.596 GB, free: 272 kB / 446.1 MB Notification: Performance of SimCode: time 1.613e-06/0.2019, allocations: 0 / 0.596 GB, free: 272 kB / 446.1 MB Notification: Performance of Templates: time 0.004011/0.2059, allocations: 0.9035 MB / 0.5969 GB, free: 15.4 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (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)