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.1629/0.1637, allocations: 82.22 MB / 0.5941 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002423/0.1662, allocations: 1.242 MB / 0.5953 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1675, allocations: 484.5 kB / 0.5958 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.193e-05/0.1676, allocations: 4 kB / 0.5958 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.1678, allocations: 3.938 kB / 0.5958 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.482e-05/0.1679, allocations: 11.92 kB / 0.5958 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.1682, allocations: 31.91 kB / 0.5958 GB, free: 3.762 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1683, allocations: 71.78 kB / 0.5959 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.1685, allocations: 20.17 kB / 0.5959 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1687, allocations: 43.83 kB / 0.596 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.793e-05/0.1688, allocations: 27.84 kB / 0.596 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.1688, allocations: 4 kB / 0.596 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.1688, allocations: 4 kB / 0.596 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.1689, allocations: 7.984 kB / 0.596 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.41e-05/0.169, allocations: 57.5 kB / 0.5961 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1691, allocations: 67.98 kB / 0.5961 GB, free: 3.457 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1691, allocations: 4 kB / 0.5961 GB, free: 3.453 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1692, allocations: 4 kB / 0.5961 GB, free: 3.449 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1692, allocations: 0 / 0.5961 GB, free: 3.449 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008144/0.17, allocations: 434.7 kB / 0.5966 GB, free: 2.965 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.17, allocations: 8.031 kB / 0.5966 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.1701, allocations: 12.84 kB / 0.5966 GB, free: 2.945 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.1703, allocations: 199 kB / 0.5968 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.1704, allocations: 12.38 kB / 0.5968 GB, free: 2.703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.1704, allocations: 8.359 kB / 0.5968 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.1707, allocations: 97.77 kB / 0.5969 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1707, allocations: 0 / 0.5969 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.1708, allocations: 4 kB / 0.5969 GB, free: 2.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1708, allocations: 4 kB / 0.5969 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.1711, allocations: 91.86 kB / 0.597 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/0.1717, allocations: 340.6 kB / 0.5973 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.172, allocations: 98.52 kB / 0.5974 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.1722, allocations: 60.97 kB / 0.5975 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1722, allocations: 4 kB / 0.5975 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003412/0.1726, allocations: 115.3 kB / 0.5976 GB, free: 1.816 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.1726, allocations: 0 / 0.5976 GB, free: 1.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007042/0.1733, allocations: 235.2 kB / 0.5978 GB, free: 1.574 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.1734, allocations: 85.05 kB / 0.5979 GB, free: 1.473 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1735, allocations: 130.1 kB / 0.598 GB, free: 1.336 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1736, allocations: 25.7 kB / 0.598 GB, free: 1.305 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.121e-05/0.1737, allocations: 104 kB / 0.5981 GB, free: 1.199 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.1737, allocations: 15.81 kB / 0.5981 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.1737, allocations: 17.7 kB / 0.5982 GB, free: 1.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1739, allocations: 322.8 kB / 0.5985 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.1741, allocations: 55.95 kB / 0.5985 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.1742, allocations: 59.95 kB / 0.5986 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.1746, allocations: 186 kB / 0.5988 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1746, allocations: 0 / 0.5988 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004479/0.175, allocations: 224.9 kB / 0.599 GB, free: 288 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.1751, allocations: 63.39 kB / 0.599 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1751, allocations: 4 kB / 0.599 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1752, allocations: 0 / 0.599 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1753, allocations: 19.98 kB / 0.599 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1753, allocations: 3.938 kB / 0.5991 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.1754, allocations: 27.83 kB / 0.5991 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.1755, allocations: 11.94 kB / 0.5991 GB, free: 144 kB / 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: 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.0001296/0.1756, allocations: 148.4 kB / 0.5992 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.1756, allocations: 7.906 kB / 0.5992 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.1757, allocations: 16.66 kB / 0.5993 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1757, allocations: 0 / 0.5993 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1757, allocations: 4 kB / 0.5993 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1757, allocations: 0 / 0.5993 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005654/0.1763, allocations: 452.4 kB / 0.5997 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1763, allocations: 0 / 0.5997 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.065e-05/0.1764, allocations: 23.91 kB / 0.5997 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1764, allocations: 4 kB / 0.5997 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1764, allocations: 0 / 0.5997 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.1764, allocations: 7.938 kB / 0.5997 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1764, allocations: 0 / 0.5997 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.1769, allocations: 285.1 kB / 0.6 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.1769, allocations: 85.02 kB / 0.6001 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.177, allocations: 0 / 0.6001 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.1771, allocations: 27.91 kB / 0.6001 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1772, allocations: 19.98 kB / 0.6001 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1773, allocations: 3.984 kB / 0.6001 GB, free: 14.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.881e-05/0.1773, allocations: 109.5 kB / 0.6002 GB, free: 14.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1773, allocations: 0 / 0.6002 GB, free: 14.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.1776, allocations: 24.03 kB / 0.6003 GB, free: 14.83 MB / 462.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: 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.0001121/0.1777, allocations: 103.1 kB / 0.6004 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004722/0.1782, allocations: 242.7 kB / 0.6006 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1782, allocations: 0 / 0.6006 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.1784, allocations: 123.3 kB / 0.6007 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.1787, allocations: 8 kB / 0.6007 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/0.1793, allocations: 221 kB / 0.6009 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1796, allocations: 0.7004 MB / 0.6016 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.947e-05/0.1796, allocations: 11.98 kB / 0.6016 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.1797, allocations: 11.42 kB / 0.6016 GB, free: 13.32 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1797, allocations: 0 / 0.6016 GB, free: 13.32 MB / 462.1 MB Notification: Performance of Templates: time 0.003502/0.1832, allocations: 1.136 MB / 0.6027 GB, free: 12.23 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: