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.1563/0.157, allocations: 82.22 MB / 0.5934 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001746/0.1588, allocations: 1.211 MB / 0.5946 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006971/0.1595, allocations: 465 kB / 0.595 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.1596, allocations: 4 kB / 0.595 GB, free: 4.285 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.031e-05/0.1597, allocations: 7.922 kB / 0.595 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.959e-05/0.1597, allocations: 11.97 kB / 0.595 GB, free: 4.266 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.1599, allocations: 27.91 kB / 0.5951 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.16, allocations: 51.86 kB / 0.5951 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1601, allocations: 16.19 kB / 0.5951 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1602, allocations: 27.91 kB / 0.5951 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.1603, allocations: 39.83 kB / 0.5952 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1604, allocations: 4 kB / 0.5952 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.1604, allocations: 0 / 0.5952 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.1604, allocations: 15.92 kB / 0.5952 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.1605, allocations: 29.7 kB / 0.5952 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.429e-05/0.1606, allocations: 56.12 kB / 0.5953 GB, free: 3.996 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1606, allocations: 0 / 0.5953 GB, free: 3.996 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1606, allocations: 7.938 kB / 0.5953 GB, free: 3.988 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.1606, allocations: 0 / 0.5953 GB, free: 3.988 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.0006681/0.1613, allocations: 434.5 kB / 0.5957 GB, free: 3.504 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1613, allocations: 8.031 kB / 0.5957 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.1613, allocations: 7.906 kB / 0.5957 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.1616, allocations: 190.8 kB / 0.5959 GB, free: 3.262 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1616, allocations: 8 kB / 0.5959 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.1616, allocations: 11.95 kB / 0.5959 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.1619, allocations: 97.62 kB / 0.596 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1619, allocations: 0 / 0.596 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1619, allocations: 0 / 0.596 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1619, allocations: 4 kB / 0.596 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.1622, allocations: 91.86 kB / 0.5961 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.1628, allocations: 344.6 kB / 0.5964 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.1631, allocations: 106.5 kB / 0.5965 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1632, allocations: 0 / 0.5965 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.1634, allocations: 107.5 kB / 0.5966 GB, free: 2.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1635, allocations: 0 / 0.5966 GB, free: 2.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005979/0.1641, allocations: 235.2 kB / 0.5969 GB, free: 2.188 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.1641, allocations: 85.09 kB / 0.5969 GB, free: 2.086 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/0.1642, allocations: 134 kB / 0.5971 GB, free: 1.945 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1643, allocations: 29.7 kB / 0.5971 GB, free: 1.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.1643, allocations: 96.05 kB / 0.5972 GB, free: 1.812 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.1644, allocations: 15.8 kB / 0.5972 GB, free: 1.797 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.1644, allocations: 4 kB / 0.5972 GB, free: 1.793 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1645, allocations: 318.8 kB / 0.5975 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.1646, allocations: 63.95 kB / 0.5976 GB, free: 1.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.1648, allocations: 51.95 kB / 0.5976 GB, free: 1.359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.165, allocations: 111.5 kB / 0.5977 GB, free: 1.238 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.165, allocations: 0 / 0.5977 GB, free: 1.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004123/0.1654, allocations: 228.9 kB / 0.598 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.1655, allocations: 55.41 kB / 0.598 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1655, allocations: 4 kB / 0.598 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1655, allocations: 0 / 0.598 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1656, allocations: 27.97 kB / 0.598 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1657, allocations: 3.984 kB / 0.598 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.1658, allocations: 27.92 kB / 0.5981 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1658, allocations: 4 kB / 0.5981 GB, free: 0.8633 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.0001087/0.1659, allocations: 151.4 kB / 0.5982 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.166, allocations: 11.89 kB / 0.5982 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.166, allocations: 12.72 kB / 0.5982 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.166, allocations: 0 / 0.5982 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.166, allocations: 4 kB / 0.5982 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.166, allocations: 0 / 0.5982 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.1666, allocations: 444.2 kB / 0.5987 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1666, allocations: 4 kB / 0.5987 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.76e-05/0.1667, allocations: 19.98 kB / 0.5987 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1667, allocations: 0 / 0.5987 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1667, allocations: 0 / 0.5987 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.1667, allocations: 3.938 kB / 0.5987 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.1667, allocations: 11.92 kB / 0.5987 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.1672, allocations: 285 kB / 0.599 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.1672, allocations: 85 kB / 0.5991 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.1673, allocations: 4 kB / 0.5991 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.1674, allocations: 15.98 kB / 0.5991 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.1675, allocations: 23.97 kB / 0.5991 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1676, allocations: 8 kB / 0.5991 GB, free: 15.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.848e-05/0.1676, allocations: 102.2 kB / 0.5992 GB, free: 15.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1676, allocations: 0 / 0.5992 GB, free: 15.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.1679, allocations: 20 kB / 0.5992 GB, free: 15.57 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.0001302/0.168, allocations: 107.6 kB / 0.5993 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004543/0.1685, allocations: 242.7 kB / 0.5996 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1685, allocations: 0 / 0.5996 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.1687, allocations: 127.3 kB / 0.5997 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.1689, allocations: 11.89 kB / 0.5997 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.1694, allocations: 213 kB / 0.5999 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1698, allocations: 0.7004 MB / 0.6006 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.959e-05/0.1698, allocations: 11.98 kB / 0.6006 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.1699, allocations: 11.44 kB / 0.6006 GB, free: 14.05 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1699, allocations: 0 / 0.6006 GB, free: 14.05 MB / 462.1 MB Notification: Performance of Templates: time 0.003584/0.1735, allocations: 1.096 MB / 0.6017 GB, free: 13 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: