Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [/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.1587/0.1607, allocations: 80.84 MB / 0.6706 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003412/0.1642, allocations: 1.502 MB / 0.6721 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1653, allocations: 0.4886 MB / 0.6726 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.834e-05/0.1654, allocations: 7.938 kB / 0.6726 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.1655, allocations: 7.875 kB / 0.6726 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.238e-05/0.1656, allocations: 11.86 kB / 0.6726 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1659, allocations: 23.97 kB / 0.6726 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.1661, allocations: 91.75 kB / 0.6727 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1663, allocations: 16.12 kB / 0.6727 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.1664, allocations: 51.78 kB / 0.6728 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.249e-05/0.1665, allocations: 35.89 kB / 0.6728 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.1665, allocations: 8 kB / 0.6728 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.18e-05/0.1666, allocations: 8 kB / 0.6728 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.1666, allocations: 15.92 kB / 0.6728 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.471e-05/0.1667, allocations: 35.8 kB / 0.6729 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1669, allocations: 75.64 kB / 0.673 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1669, allocations: 0 / 0.673 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1669, allocations: 0 / 0.673 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.1669, allocations: 0 / 0.673 GB, free: 2.18 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007866/0.1677, allocations: 450.5 kB / 0.6734 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.1678, allocations: 12.03 kB / 0.6734 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.1678, allocations: 12.88 kB / 0.6734 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.1681, allocations: 192.2 kB / 0.6736 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1681, allocations: 384 / 0.6736 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.1681, allocations: 4.375 kB / 0.6736 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.1684, allocations: 101.8 kB / 0.6737 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1684, allocations: 3.938 kB / 0.6737 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1684, allocations: 0 / 0.6737 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1685, allocations: 4 kB / 0.6737 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.1687, allocations: 75.88 kB / 0.6738 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.1693, allocations: 332.7 kB / 0.6741 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.1696, allocations: 86.52 kB / 0.6742 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.1698, allocations: 60.97 kB / 0.6742 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1698, allocations: 0 / 0.6742 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003648/0.1702, allocations: 99.34 kB / 0.6743 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.1702, allocations: 4 kB / 0.6743 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0006889/0.1709, allocations: 207.5 kB / 0.6745 GB, free: 388 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.171, allocations: 77.11 kB / 0.6746 GB, free: 292 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.1712, allocations: 138 kB / 0.6747 GB, free: 144 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.1712, allocations: 25.7 kB / 0.6748 GB, free: 112 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.1713, allocations: 100.1 kB / 0.6749 GB, free: 8 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.1714, allocations: 28.02 kB / 0.6749 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.1714, allocations: 33.64 kB / 0.6749 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002232/0.1717, allocations: 322.6 kB / 0.6752 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.1719, allocations: 47.95 kB / 0.6753 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.172, allocations: 47.95 kB / 0.6753 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.1724, allocations: 169.9 kB / 0.6755 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1724, allocations: 0 / 0.6755 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004256/0.1728, allocations: 208.9 kB / 0.6757 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.1729, allocations: 59.41 kB / 0.6757 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1729, allocations: 0 / 0.6757 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1729, allocations: 3.984 kB / 0.6757 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1731, allocations: 19.98 kB / 0.6758 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.1731, allocations: 8 kB / 0.6758 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.1732, allocations: 27.88 kB / 0.6758 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.1733, allocations: 4 kB / 0.6758 GB, free: 14.98 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001192/0.1734, allocations: 148.2 kB / 0.6759 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.1734, allocations: 7.953 kB / 0.6759 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.1734, allocations: 12.72 kB / 0.6759 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1734, allocations: 0 / 0.6759 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1735, allocations: 4 kB / 0.676 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1735, allocations: 3.938 kB / 0.676 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005724/0.174, allocations: 440.1 kB / 0.6764 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.1741, allocations: 288 / 0.6764 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.787e-05/0.1742, allocations: 15.92 kB / 0.6764 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1742, allocations: 0 / 0.6764 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1742, allocations: 11.92 kB / 0.6764 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1742, allocations: 7.938 kB / 0.6764 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1742, allocations: 0 / 0.6764 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004117/0.1746, allocations: 261.1 kB / 0.6767 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.1747, allocations: 89.06 kB / 0.6767 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1747, allocations: 0 / 0.6767 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.1748, allocations: 19.92 kB / 0.6768 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.175, allocations: 19.97 kB / 0.6768 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.175, allocations: 12 kB / 0.6768 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.237e-05/0.1751, allocations: 98.08 kB / 0.6769 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1751, allocations: 0 / 0.6769 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002319/0.1753, allocations: 23.98 kB / 0.6769 GB, free: 13.71 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001192/0.1754, allocations: 107.2 kB / 0.677 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004757/0.1759, allocations: 222.7 kB / 0.6772 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1759, allocations: 0 / 0.6772 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.1762, allocations: 115.3 kB / 0.6773 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.1765, allocations: 14.44 kB / 0.6773 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/0.177, allocations: 202.8 kB / 0.6775 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1774, allocations: 0.6924 MB / 0.6782 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.358e-05/0.1774, allocations: 7.984 kB / 0.6782 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.1775, allocations: 11.44 kB / 0.6782 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of SimCode: time 2.01e-07/0.1775, allocations: 0 / 0.6782 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.003932/0.1814, allocations: 1.327 MB / 0.6795 GB, free: 10.94 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)