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.1491/0.1511, allocations: 80.84 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002451/0.1536, allocations: 1.52 MB / 0.6721 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007964/0.1544, allocations: 491.8 kB / 0.6726 GB, free: 16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.1545, allocations: 0 / 0.6726 GB, free: 16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 8.252e-05/0.1546, allocations: 7.922 kB / 0.6726 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.1546, allocations: 15.88 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.1548, allocations: 31.89 kB / 0.6726 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.155, allocations: 87.77 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1551, allocations: 23.97 kB / 0.6727 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1552, allocations: 39.84 kB / 0.6728 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.138e-05/0.1553, allocations: 39.83 kB / 0.6728 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1553, allocations: 8 kB / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.591e-05/0.1554, allocations: 8 kB / 0.6728 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.155e-05/0.1554, allocations: 11.92 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.1555, allocations: 39.86 kB / 0.6729 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.1556, allocations: 71.66 kB / 0.673 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1556, allocations: 0 / 0.673 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1556, allocations: 0 / 0.673 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1556, allocations: 0 / 0.673 GB, free: 15.62 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.000675/0.1563, allocations: 442.7 kB / 0.6734 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1564, allocations: 8.031 kB / 0.6734 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.1564, allocations: 12.84 kB / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.1566, allocations: 187.8 kB / 0.6736 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1566, allocations: 8.375 kB / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.1566, allocations: 8.375 kB / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.1569, allocations: 105.6 kB / 0.6737 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1569, allocations: 0 / 0.6737 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.157, allocations: 0 / 0.6737 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.157, allocations: 0 / 0.6737 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.1573, allocations: 75.92 kB / 0.6738 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.1578, allocations: 340.6 kB / 0.6741 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.1581, allocations: 78.52 kB / 0.6742 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1583, allocations: 56.94 kB / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1583, allocations: 0 / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003152/0.1587, allocations: 103.3 kB / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.1587, allocations: 0 / 0.6743 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0006464/0.1593, allocations: 219.2 kB / 0.6745 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.1594, allocations: 81.11 kB / 0.6746 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.1595, allocations: 138 kB / 0.6747 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1595, allocations: 25.7 kB / 0.6748 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.1596, allocations: 96.12 kB / 0.6748 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.1596, allocations: 19.66 kB / 0.6749 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.1597, allocations: 29.7 kB / 0.6749 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1598, allocations: 326.8 kB / 0.6752 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.16, allocations: 43.97 kB / 0.6752 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.1601, allocations: 51.95 kB / 0.6753 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.1605, allocations: 174 kB / 0.6755 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1605, allocations: 3.938 kB / 0.6755 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004998/0.161, allocations: 212.9 kB / 0.6757 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.146e-05/0.1611, allocations: 67.39 kB / 0.6757 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1611, allocations: 0 / 0.6757 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1611, allocations: 0 / 0.6757 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1612, allocations: 15.98 kB / 0.6757 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1612, allocations: 0 / 0.6757 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.1614, allocations: 15.98 kB / 0.6758 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.1614, allocations: 11.92 kB / 0.6758 GB, free: 12.43 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: 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.0001123/0.1615, allocations: 147.5 kB / 0.6759 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.1615, allocations: 7.906 kB / 0.6759 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.1616, allocations: 16.7 kB / 0.6759 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1616, allocations: 0 / 0.6759 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1616, allocations: 3.984 kB / 0.6759 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1616, allocations: 0 / 0.6759 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005683/0.1622, allocations: 440.1 kB / 0.6764 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1622, allocations: 0 / 0.6764 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.782e-05/0.1623, allocations: 11.98 kB / 0.6764 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1623, allocations: 0 / 0.6764 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1623, allocations: 4 kB / 0.6764 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-06/0.1623, allocations: 3.938 kB / 0.6764 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1624, allocations: 0 / 0.6764 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.1628, allocations: 273 kB / 0.6766 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.1628, allocations: 81.02 kB / 0.6767 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.1629, allocations: 4 kB / 0.6767 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.163, allocations: 23.91 kB / 0.6767 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.1631, allocations: 15.98 kB / 0.6768 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.1632, allocations: 7.984 kB / 0.6768 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.374e-05/0.1633, allocations: 107.2 kB / 0.6769 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1633, allocations: 0 / 0.6769 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002395/0.1635, allocations: 16 kB / 0.6769 GB, free: 11.16 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: 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.0001149/0.1636, allocations: 107.2 kB / 0.677 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004644/0.1641, allocations: 222.6 kB / 0.6772 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1641, allocations: 4.281 kB / 0.6772 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.1643, allocations: 111.4 kB / 0.6773 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.1646, allocations: 15.88 kB / 0.6773 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.1652, allocations: 209.9 kB / 0.6775 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.1655, allocations: 0.6962 MB / 0.6782 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.797e-05/0.1656, allocations: 15.77 kB / 0.6782 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.1656, allocations: 19.42 kB / 0.6782 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1656, allocations: 4 kB / 0.6782 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of Templates: time 0.003808/0.1694, allocations: 1.308 MB / 0.6795 GB, free: 8.387 MB / 0.5137 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)