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.1647, allocations: 80.84 MB / 0.6706 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002731/0.1675, allocations: 1.423 MB / 0.672 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000703/0.1682, allocations: 443.8 kB / 0.6724 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.1683, allocations: 0 / 0.6724 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.1683, allocations: 0 / 0.6724 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.995e-05/0.1684, allocations: 7.922 kB / 0.6724 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.1686, allocations: 11.98 kB / 0.6725 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.265e-05/0.1686, allocations: 19.94 kB / 0.6725 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1688, allocations: 7.984 kB / 0.6725 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.026e-05/0.1689, allocations: 19.94 kB / 0.6725 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.1689, allocations: 11.92 kB / 0.6725 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.169, allocations: 3.984 kB / 0.6725 GB, free: 180 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.169, allocations: 4 kB / 0.6725 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.169, allocations: 11.88 kB / 0.6725 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.169, allocations: 11.94 kB / 0.6725 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.123e-05/0.1691, allocations: 19.91 kB / 0.6726 GB, free: 132 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1691, allocations: 3.938 kB / 0.6726 GB, free: 128 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1692, allocations: 0 / 0.6726 GB, free: 128 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.1692, allocations: 0 / 0.6726 GB, free: 128 kB / 0.4981 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.0004631/0.1696, allocations: 339.5 kB / 0.6729 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1697, allocations: 8.031 kB / 0.6729 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.1697, allocations: 4.938 kB / 0.6729 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.1699, allocations: 168.2 kB / 0.6731 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1699, allocations: 4.375 kB / 0.6731 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.1699, allocations: 384 / 0.6731 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1701, allocations: 49.94 kB / 0.6731 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1701, allocations: 0 / 0.6731 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1702, allocations: 0 / 0.6731 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1702, allocations: 4 kB / 0.6731 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1703, allocations: 23.97 kB / 0.6731 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.1707, allocations: 244.9 kB / 0.6734 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.565e-05/0.1708, allocations: 34.5 kB / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/0.1709, allocations: 16.92 kB / 0.6734 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.1709, allocations: 4 kB / 0.6734 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1709, allocations: 34.56 kB / 0.6735 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1709, allocations: 0 / 0.6735 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.000266/0.1712, allocations: 57.67 kB / 0.6735 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.1713, allocations: 51.41 kB / 0.6736 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.1714, allocations: 105.8 kB / 0.6737 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.1714, allocations: 25.83 kB / 0.6737 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.1715, allocations: 96.06 kB / 0.6738 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1715, allocations: 3.906 kB / 0.6738 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.1715, allocations: 17.72 kB / 0.6738 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1717, allocations: 314.8 kB / 0.6741 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/0.1717, allocations: 8 kB / 0.6741 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.1718, allocations: 11.98 kB / 0.6741 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.1719, allocations: 32.84 kB / 0.6742 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1719, allocations: 0 / 0.6742 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001216/0.172, allocations: 53.59 kB / 0.6742 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1721, allocations: 4 kB / 0.6742 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1721, allocations: 0 / 0.6742 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.1721, allocations: 0 / 0.6742 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.668e-05/0.1722, allocations: 15.86 kB / 0.6742 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1722, allocations: 4 kB / 0.6742 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.1723, allocations: 7.969 kB / 0.6742 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1723, allocations: 0 / 0.6742 GB, free: 14.19 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 (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.747e-05/0.1724, allocations: 121.8 kB / 0.6744 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1724, allocations: 0 / 0.6744 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.1724, allocations: 3.531 kB / 0.6744 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1724, allocations: 0 / 0.6744 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1725, allocations: 4.25 kB / 0.6744 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1725, allocations: 0 / 0.6744 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.1727, allocations: 165.6 kB / 0.6745 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1727, allocations: 0 / 0.6745 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.1727, allocations: 8 kB / 0.6745 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1727, allocations: 0 / 0.6745 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1727, allocations: 0 / 0.6745 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/0.1728, allocations: 3.984 kB / 0.6745 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1728, allocations: 4 kB / 0.6745 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.1729, allocations: 155.4 kB / 0.6747 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.173, allocations: 81.02 kB / 0.6748 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.173, allocations: 4.031 kB / 0.6748 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.1731, allocations: 7.984 kB / 0.6748 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.1731, allocations: 0 / 0.6748 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.1731, allocations: 0 / 0.6748 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.1732, allocations: 83.28 kB / 0.6749 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1732, allocations: 0 / 0.6749 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002293/0.1734, allocations: 4 kB / 0.6749 GB, free: 13.46 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 (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 0.0001141/0.1735, allocations: 103.2 kB / 0.675 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.1737, allocations: 23.98 kB / 0.675 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1737, allocations: 0 / 0.675 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.1738, allocations: 11.94 kB / 0.675 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.174, allocations: 7.938 kB / 0.675 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.1743, allocations: 114.5 kB / 0.6751 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.1745, allocations: 0.6808 MB / 0.6758 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.382e-05/0.1746, allocations: 0 / 0.6758 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.1746, allocations: 15.42 kB / 0.6758 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of SimCode: time 1.422e-06/0.1746, allocations: 0 / 0.6758 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of Templates: time 0.00228/0.1769, allocations: 312 kB / 0.6761 GB, free: 12.14 MB / 0.5137 GB 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)