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.1761/0.1782, allocations: 80.83 MB / 0.6706 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.003308/0.1816, allocations: 1.277 MB / 0.6719 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1831, allocations: 0.7111 MB / 0.6726 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.1832, allocations: 3.938 kB / 0.6726 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.1833, allocations: 0 / 0.6726 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.1833, allocations: 0 / 0.6726 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.1838, allocations: 91.89 kB / 0.6727 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.315e-05/0.1839, allocations: 19.88 kB / 0.6727 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.184, allocations: 15.92 kB / 0.6727 GB, free: 0 / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.184, allocations: 4.047 kB / 0.6727 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.613e-05/0.1841, allocations: 4 kB / 0.6727 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1841, allocations: 0 / 0.6727 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.1844, allocations: 148 kB / 0.6729 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.1845, allocations: 7.969 kB / 0.6729 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.1845, allocations: 11.94 kB / 0.6729 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.1847, allocations: 99.72 kB / 0.673 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1847, allocations: 0 / 0.673 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1847, allocations: 0 / 0.673 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1848, allocations: 4 kB / 0.673 GB, free: 15.73 MB / 0.5137 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.0004225/0.1852, allocations: 339.5 kB / 0.6733 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1852, allocations: 11.97 kB / 0.6733 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.1853, allocations: 4.938 kB / 0.6733 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.1854, allocations: 168 kB / 0.6735 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1855, allocations: 0 / 0.6735 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.1855, allocations: 0 / 0.6735 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.1856, allocations: 45.62 kB / 0.6735 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1856, allocations: 0 / 0.6735 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1856, allocations: 0 / 0.6735 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1856, allocations: 4 kB / 0.6735 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.197e-05/0.1857, allocations: 7.984 kB / 0.6735 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.1859, allocations: 153.6 kB / 0.6737 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.186, allocations: 38.59 kB / 0.6737 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.186, allocations: 12.92 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001831/0.1878, allocations: 0.6572 MB / 0.6744 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.1879, allocations: 34.56 kB / 0.6744 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.1879, allocations: 0 / 0.6744 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0002002/0.1881, allocations: 49.69 kB / 0.6744 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.1882, allocations: 51.41 kB / 0.6745 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.981e-05/0.1883, allocations: 97.86 kB / 0.6746 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1883, allocations: 25.7 kB / 0.6746 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.1883, allocations: 80.14 kB / 0.6747 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.1884, allocations: 7.844 kB / 0.6747 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.1884, allocations: 21.7 kB / 0.6747 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1886, allocations: 322.8 kB / 0.675 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.1886, allocations: 4 kB / 0.675 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.621e-05/0.1886, allocations: 11.94 kB / 0.675 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.095e-05/0.1887, allocations: 20.84 kB / 0.6751 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1887, allocations: 0 / 0.6751 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.52e-05/0.1888, allocations: 41.7 kB / 0.6751 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1888, allocations: 4.781 kB / 0.6751 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1888, allocations: 0 / 0.6751 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1888, allocations: 0 / 0.6751 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/0.1889, allocations: 7.984 kB / 0.6751 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1889, allocations: 8 kB / 0.6751 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.1889, allocations: 3.906 kB / 0.6751 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1889, allocations: 0 / 0.6751 GB, free: 13.23 MB / 0.5137 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 8.607e-05/0.189, allocations: 117.7 kB / 0.6752 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.1891, allocations: 4 kB / 0.6752 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.1892, allocations: 53.12 kB / 0.6753 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1892, allocations: 0 / 0.6753 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1892, allocations: 0 / 0.6753 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1892, allocations: 7.984 kB / 0.6753 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.1893, allocations: 153.6 kB / 0.6754 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1894, allocations: 0 / 0.6754 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.1894, allocations: 7.984 kB / 0.6754 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1894, allocations: 4 kB / 0.6755 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1894, allocations: 0 / 0.6755 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1894, allocations: 0 / 0.6755 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1894, allocations: 0 / 0.6755 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.74e-05/0.1895, allocations: 77.38 kB / 0.6755 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.1896, allocations: 85.14 kB / 0.6756 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1896, allocations: 4 kB / 0.6756 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.275e-05/0.1896, allocations: 0 / 0.6756 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.1896, allocations: 0 / 0.6756 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1896, allocations: 0 / 0.6756 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.021e-05/0.1897, allocations: 83.27 kB / 0.6757 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1897, allocations: 0 / 0.6757 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002375/0.1899, allocations: 24 kB / 0.6757 GB, free: 12.51 MB / 0.5137 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.0002699/0.1902, allocations: 143.2 kB / 0.6758 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.1903, allocations: 19.92 kB / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1903, allocations: 0 / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-05/0.1903, allocations: 8 kB / 0.6759 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.1906, allocations: 11.94 kB / 0.6759 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.1909, allocations: 109.9 kB / 0.676 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.1912, allocations: 0.6768 MB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.069e-05/0.1912, allocations: 7.938 kB / 0.6767 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.1912, allocations: 11.44 kB / 0.6767 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1912, allocations: 0 / 0.6767 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of Templates: time 0.003461/0.1947, allocations: 0.9045 MB / 0.6776 GB, free: 10.57 MB / 0.5137 GB 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)