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.1739/0.1762, allocations: 80.84 MB / 0.6706 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003181/0.1794, allocations: 1.512 MB / 0.6721 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1806, allocations: 0.4919 MB / 0.6726 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1809, allocations: 0 / 0.6726 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.181, allocations: 7.875 kB / 0.6726 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.049e-05/0.1811, allocations: 11.88 kB / 0.6726 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.1815, allocations: 31.94 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.1817, allocations: 87.72 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.1819, allocations: 20.11 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.1821, allocations: 47.83 kB / 0.6728 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.1822, allocations: 31.84 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.1823, allocations: 12 kB / 0.6728 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.192e-05/0.1823, allocations: 4 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.212e-05/0.1824, allocations: 15.92 kB / 0.6728 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.121e-05/0.1825, allocations: 31.86 kB / 0.6729 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1827, allocations: 79.7 kB / 0.673 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1827, allocations: 0 / 0.673 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.725e-06/0.1827, allocations: 0 / 0.673 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.1827, allocations: 0 / 0.673 GB, free: 15.65 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.0009653/0.1837, allocations: 438.7 kB / 0.6734 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1838, allocations: 12.03 kB / 0.6734 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.1838, allocations: 8.844 kB / 0.6734 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.1841, allocations: 196 kB / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1841, allocations: 4.375 kB / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.1842, allocations: 4.375 kB / 0.6736 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.1845, allocations: 101.7 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1846, allocations: 0 / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.1846, allocations: 4 kB / 0.6737 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1846, allocations: 4 kB / 0.6737 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.1849, allocations: 71.88 kB / 0.6738 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006643/0.1856, allocations: 332.7 kB / 0.6741 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.1859, allocations: 90.55 kB / 0.6742 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.1861, allocations: 52.95 kB / 0.6742 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1861, allocations: 0 / 0.6742 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003295/0.1864, allocations: 103.3 kB / 0.6743 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.1864, allocations: 4 kB / 0.6743 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0006433/0.1871, allocations: 211.4 kB / 0.6745 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.1872, allocations: 85.05 kB / 0.6746 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.1873, allocations: 134 kB / 0.6747 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1873, allocations: 29.7 kB / 0.6748 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.1874, allocations: 92.14 kB / 0.6748 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.1874, allocations: 27.64 kB / 0.6749 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.1875, allocations: 25.72 kB / 0.6749 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1876, allocations: 322.8 kB / 0.6752 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.1878, allocations: 55.95 kB / 0.6753 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.188, allocations: 47.91 kB / 0.6753 GB, free: 13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.1883, allocations: 170.1 kB / 0.6755 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1883, allocations: 3.938 kB / 0.6755 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004379/0.1888, allocations: 212.9 kB / 0.6757 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/0.1888, allocations: 60.19 kB / 0.6757 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1888, allocations: 0 / 0.6757 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1889, allocations: 0 / 0.6757 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.189, allocations: 23.92 kB / 0.6757 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.189, allocations: 7.984 kB / 0.6758 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.1892, allocations: 11.98 kB / 0.6758 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.1892, allocations: 7.938 kB / 0.6758 GB, free: 12.46 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.0001198/0.1893, allocations: 143.5 kB / 0.6759 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.1893, allocations: 11.89 kB / 0.6759 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.1894, allocations: 16.72 kB / 0.6759 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1894, allocations: 0 / 0.6759 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1894, allocations: 4 kB / 0.6759 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1894, allocations: 0 / 0.6759 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006071/0.19, allocations: 432.1 kB / 0.6764 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.19, allocations: 0 / 0.6764 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.578e-05/0.1901, allocations: 15.98 kB / 0.6764 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1902, allocations: 0 / 0.6764 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1902, allocations: 0 / 0.6764 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.1902, allocations: 11.92 kB / 0.6764 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1902, allocations: 4 kB / 0.6764 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.1907, allocations: 261.1 kB / 0.6766 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.1907, allocations: 85 kB / 0.6767 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.1908, allocations: 4 kB / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.1909, allocations: 19.92 kB / 0.6767 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.1911, allocations: 23.97 kB / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1911, allocations: 4 kB / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.093e-05/0.1912, allocations: 103.1 kB / 0.6769 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1912, allocations: 0 / 0.6769 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002582/0.1914, allocations: 20 kB / 0.6769 GB, free: 11.2 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.0001403/0.1916, allocations: 114.2 kB / 0.677 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004883/0.1921, allocations: 222.7 kB / 0.6772 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.1921, allocations: 288 / 0.6772 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.1923, allocations: 119.2 kB / 0.6773 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1926, allocations: 15.92 kB / 0.6773 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006203/0.1933, allocations: 203 kB / 0.6775 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1936, allocations: 0.7001 MB / 0.6782 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.586e-05/0.1936, allocations: 11.77 kB / 0.6782 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.1937, allocations: 11.44 kB / 0.6782 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.1937, allocations: 0 / 0.6782 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of Templates: time 0.00417/0.1979, allocations: 1.375 MB / 0.6796 GB, free: 8.359 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)