Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [/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.1626/0.1662, allocations: 80.84 MB / 0.5899 GB, free: 6.965 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002663/0.1689, allocations: 1.476 MB / 0.5913 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006477/0.1696, allocations: 440.6 kB / 0.5917 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.1696, allocations: 0 / 0.5917 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.1697, allocations: 0 / 0.5917 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.342e-05/0.1697, allocations: 3.938 kB / 0.5918 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.1699, allocations: 11.94 kB / 0.5918 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.99e-05/0.1699, allocations: 23.92 kB / 0.5918 GB, free: 4.988 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.17, allocations: 11.98 kB / 0.5918 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.312e-05/0.1701, allocations: 15.92 kB / 0.5918 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.622e-05/0.1702, allocations: 7.938 kB / 0.5918 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1702, allocations: 4 kB / 0.5918 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.1702, allocations: 0 / 0.5918 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.1702, allocations: 7.984 kB / 0.5918 GB, free: 4.941 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.1703, allocations: 7.938 kB / 0.5918 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.657e-05/0.1704, allocations: 32.17 kB / 0.5919 GB, free: 4.902 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1704, allocations: 0 / 0.5919 GB, free: 4.902 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1704, allocations: 4 kB / 0.5919 GB, free: 4.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1704, allocations: 4 kB / 0.5919 GB, free: 4.895 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.0003845/0.1708, allocations: 326.5 kB / 0.5922 GB, free: 4.531 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1708, allocations: 12.03 kB / 0.5922 GB, free: 4.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.1708, allocations: 12.84 kB / 0.5922 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.171, allocations: 168.4 kB / 0.5924 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.171, allocations: 384 / 0.5924 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.171, allocations: 4.312 kB / 0.5924 GB, free: 4.301 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.1711, allocations: 46 kB / 0.5924 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.1711, allocations: 4 kB / 0.5924 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.1711, allocations: 0 / 0.5924 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1712, allocations: 0 / 0.5924 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.707e-05/0.1712, allocations: 27.91 kB / 0.5925 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.1716, allocations: 248.8 kB / 0.5927 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.802e-05/0.1717, allocations: 34.61 kB / 0.5927 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.1717, allocations: 20.91 kB / 0.5927 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.1717, allocations: 0 / 0.5927 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.1718, allocations: 38.5 kB / 0.5928 GB, free: 3.812 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.954e-06/0.1718, allocations: 0 / 0.5928 GB, free: 3.812 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002092/0.172, allocations: 61.53 kB / 0.5928 GB, free: 3.746 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.172, allocations: 55.39 kB / 0.5929 GB, free: 3.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.1721, allocations: 106 kB / 0.593 GB, free: 3.566 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1721, allocations: 25.7 kB / 0.593 GB, free: 3.535 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.1722, allocations: 88.12 kB / 0.5931 GB, free: 3.445 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.1722, allocations: 7.906 kB / 0.5931 GB, free: 3.438 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.1722, allocations: 9.719 kB / 0.5931 GB, free: 3.422 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1724, allocations: 318.8 kB / 0.5934 GB, free: 3.102 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.794e-05/0.1724, allocations: 7.984 kB / 0.5934 GB, free: 3.094 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.951e-05/0.1724, allocations: 12 kB / 0.5934 GB, free: 3.082 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.892e-05/0.1725, allocations: 32.72 kB / 0.5935 GB, free: 3.047 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1725, allocations: 0 / 0.5935 GB, free: 3.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.857e-05/0.1726, allocations: 49.69 kB / 0.5935 GB, free: 2.992 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1726, allocations: 7.984 kB / 0.5935 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1726, allocations: 4 kB / 0.5935 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1727, allocations: 0 / 0.5935 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.1727, allocations: 4.094 kB / 0.5935 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1727, allocations: 4 kB / 0.5935 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.1728, allocations: 0 / 0.5935 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1728, allocations: 4 kB / 0.5935 GB, free: 2.969 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 (2): * Single equations (assignments): 2 * 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.094e-05/0.1729, allocations: 114.6 kB / 0.5937 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.1729, allocations: 0 / 0.5937 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.1729, allocations: 11.53 kB / 0.5937 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1729, allocations: 0 / 0.5937 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1729, allocations: 3.938 kB / 0.5937 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.1729, allocations: 0 / 0.5937 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.1731, allocations: 161.6 kB / 0.5938 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1731, allocations: 4.188 kB / 0.5938 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/0.1732, allocations: 11.98 kB / 0.5938 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1732, allocations: 4 kB / 0.5938 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1732, allocations: 0 / 0.5938 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1732, allocations: 0 / 0.5938 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1732, allocations: 0 / 0.5938 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.1734, allocations: 159.4 kB / 0.594 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.1734, allocations: 77.11 kB / 0.5941 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1734, allocations: 0 / 0.5941 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.1735, allocations: 4 kB / 0.5941 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.1735, allocations: 0 / 0.5941 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.1735, allocations: 0 / 0.5941 GB, free: 2.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.022e-05/0.1736, allocations: 91.27 kB / 0.5942 GB, free: 2.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1736, allocations: 3.938 kB / 0.5942 GB, free: 2.246 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002041/0.1738, allocations: 4 kB / 0.5942 GB, free: 2.242 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 (2): * Single equations (assignments): 2 * 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 9.43e-05/0.1739, allocations: 103.2 kB / 0.5943 GB, free: 2.133 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.174, allocations: 19.98 kB / 0.5943 GB, free: 2.113 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.174, allocations: 0 / 0.5943 GB, free: 2.113 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/0.1741, allocations: 11.98 kB / 0.5943 GB, free: 2.102 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.1743, allocations: 3.938 kB / 0.5943 GB, free: 2.098 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.1746, allocations: 138.6 kB / 0.5944 GB, free: 1.938 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1748, allocations: 0.6806 MB / 0.5951 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.124e-05/0.1749, allocations: 0 / 0.5951 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.1749, allocations: 11.44 kB / 0.5951 GB, free: 1.219 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1749, allocations: 0 / 0.5951 GB, free: 1.219 MB / 446.1 MB Notification: Performance of Templates: time 0.001817/0.1767, allocations: 290.9 kB / 0.5954 GB, free: 0.9688 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)