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.2023/0.2042, allocations: 80.84 MB / 0.5897 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002926/0.2072, allocations: 1.341 MB / 0.591 GB, free: 5.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.2086, allocations: 0.7311 MB / 0.5917 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.2087, allocations: 4 kB / 0.5917 GB, free: 4.988 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.2087, allocations: 0 / 0.5917 GB, free: 4.988 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.965e-05/0.2088, allocations: 3.984 kB / 0.5917 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.2091, allocations: 75.98 kB / 0.5918 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.548e-05/0.2092, allocations: 15.88 kB / 0.5918 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.273e-05/0.2092, allocations: 0 / 0.5918 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.592e-05/0.2093, allocations: 8 kB / 0.5918 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.2093, allocations: 7.984 kB / 0.5918 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.2094, allocations: 3.984 kB / 0.5918 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.2097, allocations: 156.9 kB / 0.592 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.2097, allocations: 7.938 kB / 0.592 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.2098, allocations: 4 kB / 0.592 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.21, allocations: 108.5 kB / 0.5921 GB, free: 4.605 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.21, allocations: 0 / 0.5921 GB, free: 4.605 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.21, allocations: 0 / 0.5921 GB, free: 4.605 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.21, allocations: 3.938 kB / 0.5921 GB, free: 4.602 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.0003925/0.2104, allocations: 339.5 kB / 0.5924 GB, free: 4.223 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.2105, allocations: 16.02 kB / 0.5924 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.2105, allocations: 0.9375 kB / 0.5924 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.2106, allocations: 164.4 kB / 0.5926 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.2106, allocations: 7.938 kB / 0.5926 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.2107, allocations: 3.984 kB / 0.5926 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.2108, allocations: 37.62 kB / 0.5926 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2108, allocations: 0 / 0.5926 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.2108, allocations: 0 / 0.5926 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2108, allocations: 0 / 0.5926 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.2109, allocations: 12 kB / 0.5927 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.211, allocations: 161.6 kB / 0.5928 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.2112, allocations: 34.61 kB / 0.5928 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.2112, allocations: 8.922 kB / 0.5929 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001746/0.2129, allocations: 0.6534 MB / 0.5935 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.213, allocations: 34.5 kB / 0.5935 GB, free: 2.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.213, allocations: 0 / 0.5935 GB, free: 2.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002212/0.2132, allocations: 49.69 kB / 0.5936 GB, free: 2.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.2133, allocations: 55.41 kB / 0.5936 GB, free: 2.789 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2134, allocations: 97.78 kB / 0.5937 GB, free: 2.684 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.2134, allocations: 25.7 kB / 0.5937 GB, free: 2.652 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.2135, allocations: 88.14 kB / 0.5938 GB, free: 2.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.2135, allocations: 15.73 kB / 0.5938 GB, free: 2.547 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.2136, allocations: 13.72 kB / 0.5939 GB, free: 2.527 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.2138, allocations: 314.8 kB / 0.5942 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.2138, allocations: 7.984 kB / 0.5942 GB, free: 2.203 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.123e-05/0.2138, allocations: 4.125 kB / 0.5942 GB, free: 2.199 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.265e-05/0.2139, allocations: 24.73 kB / 0.5942 GB, free: 2.172 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2139, allocations: 0 / 0.5942 GB, free: 2.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.537e-05/0.214, allocations: 45.69 kB / 0.5942 GB, free: 2.121 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.214, allocations: 8 kB / 0.5942 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.214, allocations: 0 / 0.5942 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.214, allocations: 0 / 0.5942 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.2141, allocations: 4 kB / 0.5942 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.2141, allocations: 0 / 0.5942 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.476e-05/0.2141, allocations: 0 / 0.5942 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.2142, allocations: 4 kB / 0.5943 GB, free: 2.105 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 0.0001252/0.2143, allocations: 118.6 kB / 0.5944 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.2143, allocations: 0 / 0.5944 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.2145, allocations: 61.39 kB / 0.5944 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2145, allocations: 48 / 0.5944 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.2145, allocations: 7.984 kB / 0.5944 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2145, allocations: 0 / 0.5944 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.2147, allocations: 157.6 kB / 0.5946 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2147, allocations: 4 kB / 0.5946 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.2147, allocations: 4 kB / 0.5946 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2147, allocations: 0 / 0.5946 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.2147, allocations: 0 / 0.5946 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2147, allocations: 4 kB / 0.5946 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2147, allocations: 0 / 0.5946 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.2149, allocations: 80.91 kB / 0.5947 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.2149, allocations: 81.09 kB / 0.5947 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.215, allocations: 4 kB / 0.5947 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.17e-05/0.215, allocations: 0 / 0.5947 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.215, allocations: 4 kB / 0.5948 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.215, allocations: 7.938 kB / 0.5948 GB, free: 1.477 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.639e-05/0.2151, allocations: 75.28 kB / 0.5948 GB, free: 1.402 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2151, allocations: 0 / 0.5948 GB, free: 1.402 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.2154, allocations: 31.98 kB / 0.5949 GB, free: 1.371 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.0003255/0.2157, allocations: 123.3 kB / 0.595 GB, free: 1.242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.063e-05/0.2158, allocations: 12 kB / 0.595 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.2158, allocations: 7.938 kB / 0.595 GB, free: 1.223 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.717e-05/0.2158, allocations: 11.98 kB / 0.595 GB, free: 1.211 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.2161, allocations: 11.94 kB / 0.595 GB, free: 1.199 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.2164, allocations: 107.9 kB / 0.5951 GB, free: 1.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.2167, allocations: 0.6731 MB / 0.5958 GB, free: 380 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.198e-05/0.2167, allocations: 11.92 kB / 0.5958 GB, free: 368 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.2168, allocations: 11.44 kB / 0.5958 GB, free: 356 kB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2168, allocations: 0 / 0.5958 GB, free: 356 kB / 446.1 MB Notification: Performance of Templates: time 0.003114/0.2199, allocations: 0.8836 MB / 0.5967 GB, free: 15.5 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)