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.168/0.1687, allocations: 82.21 MB / 0.5935 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001938/0.1707, allocations: 1.231 MB / 0.5947 GB, free: 4.742 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008675/0.1716, allocations: 464.8 kB / 0.5951 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.1717, allocations: 4 kB / 0.5951 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.752e-05/0.1718, allocations: 3.938 kB / 0.5951 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/0.1719, allocations: 7.922 kB / 0.5951 GB, free: 4.266 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.1721, allocations: 27.91 kB / 0.5952 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.1722, allocations: 71.77 kB / 0.5952 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1724, allocations: 20.11 kB / 0.5952 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1725, allocations: 27.92 kB / 0.5953 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.1726, allocations: 35.83 kB / 0.5953 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.1726, allocations: 4 kB / 0.5953 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.509e-05/0.1727, allocations: 8 kB / 0.5953 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.1727, allocations: 7.922 kB / 0.5953 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.1728, allocations: 37.7 kB / 0.5954 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.76e-05/0.1729, allocations: 48.12 kB / 0.5954 GB, free: 3.977 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.1729, allocations: 4 kB / 0.5954 GB, free: 3.973 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1729, allocations: 3.938 kB / 0.5954 GB, free: 3.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1729, allocations: 0 / 0.5954 GB, free: 3.969 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.000662/0.1736, allocations: 438.5 kB / 0.5958 GB, free: 3.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1736, allocations: 12.03 kB / 0.5958 GB, free: 3.469 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.1737, allocations: 7.906 kB / 0.5959 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.1739, allocations: 194.9 kB / 0.596 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.1739, allocations: 0 / 0.596 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.1739, allocations: 11.95 kB / 0.5961 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.1742, allocations: 97.64 kB / 0.5961 GB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1742, allocations: 7.938 kB / 0.5962 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1743, allocations: 3.984 kB / 0.5962 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1743, allocations: 0 / 0.5962 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/0.1746, allocations: 87.94 kB / 0.5962 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.1752, allocations: 344.6 kB / 0.5966 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.1754, allocations: 98.55 kB / 0.5967 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.1756, allocations: 60.95 kB / 0.5967 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.1756, allocations: 0 / 0.5967 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002911/0.1759, allocations: 115.3 kB / 0.5968 GB, free: 2.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.644e-06/0.1759, allocations: 0 / 0.5968 GB, free: 2.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006036/0.1766, allocations: 239.1 kB / 0.5971 GB, free: 2.094 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.1766, allocations: 89.09 kB / 0.5971 GB, free: 1.988 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.1768, allocations: 130.1 kB / 0.5973 GB, free: 1.852 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1768, allocations: 25.7 kB / 0.5973 GB, free: 1.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.1769, allocations: 96.05 kB / 0.5974 GB, free: 1.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.1769, allocations: 19.8 kB / 0.5974 GB, free: 1.703 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.1769, allocations: 0 / 0.5974 GB, free: 1.703 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.177, allocations: 326.7 kB / 0.5977 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.1772, allocations: 55.95 kB / 0.5978 GB, free: 1.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.1774, allocations: 59.95 kB / 0.5978 GB, free: 1.262 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.1775, allocations: 103.4 kB / 0.5979 GB, free: 1.148 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1776, allocations: 3.938 kB / 0.5979 GB, free: 1.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004142/0.178, allocations: 224.9 kB / 0.5981 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.178, allocations: 63.34 kB / 0.5982 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.178, allocations: 0 / 0.5982 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1781, allocations: 4 kB / 0.5982 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.1782, allocations: 19.92 kB / 0.5982 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.1782, allocations: 3.984 kB / 0.5982 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.1783, allocations: 23.92 kB / 0.5983 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.1784, allocations: 8 kB / 0.5983 GB, free: 0.7734 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: 6 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.1785, allocations: 152.4 kB / 0.5984 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.1785, allocations: 11.89 kB / 0.5984 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.1785, allocations: 8.719 kB / 0.5984 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1786, allocations: 0 / 0.5984 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1786, allocations: 4 kB / 0.5984 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1786, allocations: 0 / 0.5984 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.1791, allocations: 448.1 kB / 0.5989 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1791, allocations: 0 / 0.5989 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.425e-05/0.1792, allocations: 19.98 kB / 0.5989 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1792, allocations: 4 kB / 0.5989 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1792, allocations: 4 kB / 0.5989 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1793, allocations: 3.984 kB / 0.5989 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1793, allocations: 288 / 0.5989 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004248/0.1797, allocations: 285 kB / 0.5992 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.1797, allocations: 85 kB / 0.5992 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.1798, allocations: 7.938 kB / 0.5992 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.1799, allocations: 15.98 kB / 0.5993 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.18, allocations: 23.97 kB / 0.5993 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1801, allocations: 11.98 kB / 0.5993 GB, free: 15.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.822e-05/0.1801, allocations: 110.1 kB / 0.5994 GB, free: 15.49 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1802, allocations: 0 / 0.5994 GB, free: 15.49 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1804, allocations: 16 kB / 0.5994 GB, free: 15.47 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001231/0.1805, allocations: 107.2 kB / 0.5995 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004518/0.181, allocations: 238.7 kB / 0.5997 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.181, allocations: 0 / 0.5997 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.1812, allocations: 123.3 kB / 0.5999 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.1815, allocations: 15.95 kB / 0.5999 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005191/0.182, allocations: 216.9 kB / 0.6001 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.1823, allocations: 0.7005 MB / 0.6008 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.506e-05/0.1824, allocations: 11.98 kB / 0.6008 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.1824, allocations: 15.42 kB / 0.6008 GB, free: 13.96 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1824, allocations: 0 / 0.6008 GB, free: 13.96 MB / 462.1 MB Notification: Performance of Templates: time 0.003829/0.1863, allocations: 1.097 MB / 0.6019 GB, free: 12.9 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: