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.1784/0.1805, allocations: 80.84 MB / 0.5897 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003629/0.1842, allocations: 1.577 MB / 0.5912 GB, free: 5.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1853, allocations: 492.5 kB / 0.5917 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.399e-05/0.1854, allocations: 4 kB / 0.5917 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.1855, allocations: 7.922 kB / 0.5917 GB, free: 5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.047e-05/0.1856, allocations: 7.922 kB / 0.5917 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.1859, allocations: 31.97 kB / 0.5918 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.186, allocations: 79.72 kB / 0.5918 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1862, allocations: 24.16 kB / 0.5919 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.1863, allocations: 27.86 kB / 0.5919 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.1864, allocations: 39.83 kB / 0.5919 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.1865, allocations: 8 kB / 0.5919 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.1865, allocations: 4 kB / 0.5919 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.1866, allocations: 15.92 kB / 0.5919 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.1866, allocations: 31.84 kB / 0.592 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.1868, allocations: 67.95 kB / 0.592 GB, free: 4.668 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1868, allocations: 0 / 0.592 GB, free: 4.668 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1868, allocations: 0 / 0.592 GB, free: 4.668 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1868, allocations: 0 / 0.592 GB, free: 4.668 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.0007857/0.1876, allocations: 454.6 kB / 0.5925 GB, free: 4.164 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1876, allocations: 11.97 kB / 0.5925 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.1877, allocations: 8.844 kB / 0.5925 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.1879, allocations: 184.2 kB / 0.5927 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.1879, allocations: 8.312 kB / 0.5927 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.188, allocations: 8.375 kB / 0.5927 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.1883, allocations: 93.75 kB / 0.5928 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1883, allocations: 4 kB / 0.5928 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.1883, allocations: 0 / 0.5928 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1883, allocations: 4 kB / 0.5928 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.1886, allocations: 71.92 kB / 0.5928 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.1892, allocations: 340.5 kB / 0.5932 GB, free: 3.352 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.1895, allocations: 90.52 kB / 0.5933 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.1897, allocations: 52.94 kB / 0.5933 GB, free: 3.199 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1897, allocations: 0 / 0.5933 GB, free: 3.199 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00034/0.1901, allocations: 107.4 kB / 0.5934 GB, free: 3.082 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.1901, allocations: 0 / 0.5934 GB, free: 3.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006082/0.1907, allocations: 211.2 kB / 0.5936 GB, free: 2.863 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.1908, allocations: 81.11 kB / 0.5937 GB, free: 2.766 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1909, allocations: 130.1 kB / 0.5938 GB, free: 2.629 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.1909, allocations: 29.7 kB / 0.5938 GB, free: 2.594 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.191, allocations: 104 kB / 0.5939 GB, free: 2.488 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.191, allocations: 15.81 kB / 0.594 GB, free: 2.473 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.1911, allocations: 29.64 kB / 0.594 GB, free: 2.438 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1912, allocations: 322.8 kB / 0.5943 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.1914, allocations: 43.97 kB / 0.5943 GB, free: 2.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.1915, allocations: 51.95 kB / 0.5944 GB, free: 2.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.1919, allocations: 174 kB / 0.5946 GB, free: 1.828 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.1919, allocations: 3.984 kB / 0.5946 GB, free: 1.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004195/0.1923, allocations: 204.9 kB / 0.5948 GB, free: 1.605 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.056e-05/0.1924, allocations: 69.58 kB / 0.5948 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1924, allocations: 0 / 0.5948 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1924, allocations: 0 / 0.5948 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.1925, allocations: 19.98 kB / 0.5948 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1925, allocations: 0 / 0.5948 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.1927, allocations: 15.92 kB / 0.5949 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1927, allocations: 15.92 kB / 0.5949 GB, free: 1.477 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 (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.000112/0.1928, allocations: 148.4 kB / 0.595 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.1928, allocations: 7.906 kB / 0.595 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.1929, allocations: 12.72 kB / 0.595 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1929, allocations: 4 kB / 0.595 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1929, allocations: 3.984 kB / 0.595 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1929, allocations: 0 / 0.595 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.1935, allocations: 436.3 kB / 0.5955 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1935, allocations: 4 kB / 0.5955 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.735e-05/0.1936, allocations: 11.98 kB / 0.5955 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1936, allocations: 3.938 kB / 0.5955 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1936, allocations: 8 kB / 0.5955 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1936, allocations: 7.938 kB / 0.5955 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1936, allocations: 0 / 0.5955 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.1941, allocations: 265.1 kB / 0.5957 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.1941, allocations: 77.11 kB / 0.5958 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.1941, allocations: 4 kB / 0.5958 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.1943, allocations: 27.91 kB / 0.5958 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.1944, allocations: 19.97 kB / 0.5959 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.1945, allocations: 8 kB / 0.5959 GB, free: 340 kB / 446.1 MB Notification: Performance of sorting global known variables: time 6.474e-05/0.1945, allocations: 101.9 kB / 0.596 GB, free: 240 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1945, allocations: 0 / 0.596 GB, free: 240 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.1948, allocations: 23.84 kB / 0.596 GB, free: 216 kB / 446.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.0001229/0.1949, allocations: 111.3 kB / 0.5961 GB, free: 92 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004793/0.1954, allocations: 222.7 kB / 0.5963 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1954, allocations: 0 / 0.5963 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.1956, allocations: 115.3 kB / 0.5964 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.1959, allocations: 15.92 kB / 0.5964 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.1964, allocations: 216.8 kB / 0.5966 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.1967, allocations: 0.6926 MB / 0.5973 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.188e-05/0.1968, allocations: 15.98 kB / 0.5973 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.1968, allocations: 11.44 kB / 0.5973 GB, free: 14.73 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1969, allocations: 0 / 0.5973 GB, free: 14.73 MB / 462.1 MB Notification: Performance of Templates: time 0.003638/0.2005, allocations: 1.141 MB / 0.5985 GB, free: 13.62 MB / 462.1 MB 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)