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.1621/0.1643, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002798/0.1671, allocations: 1.42 MB / 0.672 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007436/0.1679, allocations: 439.9 kB / 0.6724 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.168, allocations: 0 / 0.6724 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.168, allocations: 3.938 kB / 0.6724 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-05/0.1681, allocations: 7.938 kB / 0.6724 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.1682, allocations: 11.98 kB / 0.6725 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.619e-05/0.1683, allocations: 19.92 kB / 0.6725 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1684, allocations: 8 kB / 0.6725 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1685, allocations: 15.97 kB / 0.6725 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.1686, allocations: 11.94 kB / 0.6725 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1686, allocations: 4 kB / 0.6725 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.1687, allocations: 3.938 kB / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.1687, allocations: 7.922 kB / 0.6725 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.1687, allocations: 15.94 kB / 0.6725 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.87e-05/0.1688, allocations: 19.91 kB / 0.6726 GB, free: 8 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1688, allocations: 0 / 0.6726 GB, free: 8 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.314e-06/0.1688, allocations: 7.938 kB / 0.6726 GB, free: 0 / 0.4981 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1688, allocations: 0 / 0.6726 GB, free: 0 / 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.0004227/0.1693, allocations: 327.5 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1693, allocations: 12.03 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.1693, allocations: 0.9375 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1695, allocations: 180.2 kB / 0.6731 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1695, allocations: 4.375 kB / 0.6731 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.1695, allocations: 8.312 kB / 0.6731 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1697, allocations: 42 kB / 0.6731 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1697, allocations: 0 / 0.6731 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1697, allocations: 0 / 0.6731 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.1697, allocations: 0 / 0.6731 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.425e-05/0.1698, allocations: 23.92 kB / 0.6731 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.1702, allocations: 248.9 kB / 0.6734 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.025e-05/0.1703, allocations: 34.61 kB / 0.6734 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.1703, allocations: 20.91 kB / 0.6734 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1704, allocations: 0 / 0.6734 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.1704, allocations: 30.56 kB / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 2.194e-06/0.1704, allocations: 0 / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002385/0.1706, allocations: 65.62 kB / 0.6735 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.1707, allocations: 55.39 kB / 0.6736 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.956e-05/0.1708, allocations: 105.9 kB / 0.6737 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1708, allocations: 25.7 kB / 0.6737 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.1708, allocations: 80.14 kB / 0.6738 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.1709, allocations: 15.89 kB / 0.6738 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.1709, allocations: 9.719 kB / 0.6738 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.171, allocations: 319 kB / 0.6741 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.1711, allocations: 11.98 kB / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.167e-05/0.1711, allocations: 4 kB / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.054e-05/0.1712, allocations: 32.72 kB / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1712, allocations: 0 / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001203/0.1713, allocations: 53.59 kB / 0.6742 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1714, allocations: 4.094 kB / 0.6742 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1714, allocations: 11.98 kB / 0.6742 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1714, allocations: 0 / 0.6742 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.362e-05/0.1715, allocations: 4 kB / 0.6742 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1715, allocations: 3.938 kB / 0.6742 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.1715, allocations: 0 / 0.6742 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1715, allocations: 4 kB / 0.6742 GB, free: 14.07 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.162e-05/0.1716, allocations: 121.8 kB / 0.6743 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.1717, allocations: 3.984 kB / 0.6744 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.1717, allocations: 11.53 kB / 0.6744 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1717, allocations: 0 / 0.6744 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1717, allocations: 0 / 0.6744 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1717, allocations: 0 / 0.6744 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.1719, allocations: 161.6 kB / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1719, allocations: 3.938 kB / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.1719, allocations: 7.984 kB / 0.6745 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1719, allocations: 4 kB / 0.6745 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.172, allocations: 3.938 kB / 0.6745 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.172, allocations: 0 / 0.6745 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.172, allocations: 0 / 0.6745 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.1721, allocations: 151.5 kB / 0.6747 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.1722, allocations: 81.02 kB / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.1722, allocations: 0 / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.829e-05/0.1723, allocations: 4 kB / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.1723, allocations: 4 kB / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1723, allocations: 0 / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.1724, allocations: 95.55 kB / 0.6749 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1724, allocations: 0 / 0.6749 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002379/0.1726, allocations: 4 kB / 0.6749 GB, free: 13.33 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.0001026/0.1727, allocations: 99.19 kB / 0.675 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.1729, allocations: 19.98 kB / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1729, allocations: 0 / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.962e-05/0.173, allocations: 20.05 kB / 0.675 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.1732, allocations: 3.938 kB / 0.675 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.1735, allocations: 114.5 kB / 0.6751 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.1737, allocations: 0.6845 MB / 0.6758 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.571e-05/0.1738, allocations: 0 / 0.6758 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.1738, allocations: 7.438 kB / 0.6758 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1738, allocations: 0 / 0.6758 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.002282/0.1761, allocations: 328 kB / 0.6761 GB, free: 12.01 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)