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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8595/0.8595, allocations: 133.7 MB / 148.6 MB, free: 13.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001447/0.001447, allocations: 175 kB / 180.9 MB, free: 15.11 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.742/1.742, allocations: 170.7 MB / 383.7 MB, free: 16.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002065/0.002065, allocations: 105.8 kB / 454.6 MB, free: 9.75 MB / 346.7 MB [/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.1955/0.196, allocations: 73.4 MB / 0.6812 GB, free: 5.578 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5852/0.7813, allocations: 103.1 MB / 0.7819 GB, free: 23.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.7816, allocations: 94.7 kB / 0.782 GB, free: 23.53 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004723/0.7863, allocations: 1.476 MB / 0.7834 GB, free: 22.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.7864, allocations: 4 kB / 0.7834 GB, free: 22.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.7864, allocations: 2.188 kB / 0.7834 GB, free: 22.56 MB / 490.7 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.0005753/0.787, allocations: 447.2 kB / 0.7839 GB, free: 22.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.787, allocations: 8.562 kB / 0.7839 GB, free: 22.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.7871, allocations: 11.91 kB / 0.7839 GB, free: 22.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.7873, allocations: 195.7 kB / 0.7841 GB, free: 21.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.7873, allocations: 8.812 kB / 0.7841 GB, free: 21.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.7874, allocations: 6.625 kB / 0.7841 GB, free: 21.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.7877, allocations: 105.2 kB / 0.7842 GB, free: 21.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.7877, allocations: 0 / 0.7842 GB, free: 21.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.7877, allocations: 0.6562 kB / 0.7842 GB, free: 21.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.7877, allocations: 7.672 kB / 0.7842 GB, free: 21.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.788, allocations: 86.05 kB / 0.7843 GB, free: 21.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006043/0.7886, allocations: 347 kB / 0.7846 GB, free: 21.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.7889, allocations: 92.98 kB / 0.7847 GB, free: 21.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.789, allocations: 0 / 0.7847 GB, free: 21.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.7893, allocations: 111.9 kB / 0.7848 GB, free: 21.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.7893, allocations: 4.75 kB / 0.7848 GB, free: 21.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006488/0.7899, allocations: 235.8 kB / 0.785 GB, free: 21.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.79, allocations: 85.89 kB / 0.7851 GB, free: 20.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.7901, allocations: 128.5 kB / 0.7852 GB, free: 20.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.7901, allocations: 29.33 kB / 0.7853 GB, free: 20.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.7902, allocations: 92.66 kB / 0.7853 GB, free: 20.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.7902, allocations: 20.5 kB / 0.7854 GB, free: 20.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.7902, allocations: 0 / 0.7854 GB, free: 20.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.7903, allocations: 323.7 kB / 0.7857 GB, free: 20.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.7905, allocations: 56.88 kB / 0.7857 GB, free: 20.33 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.7906, allocations: 61.02 kB / 0.7858 GB, free: 20.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.7908, allocations: 113.8 kB / 0.7859 GB, free: 20.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7908, allocations: 0 / 0.7859 GB, free: 20.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004175/0.7913, allocations: 224.4 kB / 0.7861 GB, free: 20 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.7913, allocations: 62.45 kB / 0.7862 GB, free: 19.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.7913, allocations: 0 / 0.7862 GB, free: 19.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.7914, allocations: 0 / 0.7862 GB, free: 19.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.7915, allocations: 21.08 kB / 0.7862 GB, free: 19.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.7915, allocations: 0 / 0.7862 GB, free: 19.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.7917, allocations: 33.47 kB / 0.7862 GB, free: 19.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.7917, allocations: 4 kB / 0.7862 GB, free: 19.88 MB / 490.7 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 9.997e-05/0.7918, allocations: 145.4 kB / 0.7864 GB, free: 19.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.7918, allocations: 9.406 kB / 0.7864 GB, free: 19.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.7919, allocations: 15.78 kB / 0.7864 GB, free: 19.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7919, allocations: 1.641 kB / 0.7864 GB, free: 19.72 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.7919, allocations: 0.6875 kB / 0.7864 GB, free: 19.72 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.7919, allocations: 0 / 0.7864 GB, free: 19.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.7925, allocations: 456.7 kB / 0.7868 GB, free: 19.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7925, allocations: 0 / 0.7868 GB, free: 19.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.7926, allocations: 26.77 kB / 0.7868 GB, free: 19.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.7926, allocations: 0 / 0.7868 GB, free: 19.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.7926, allocations: 2.531 kB / 0.7868 GB, free: 19.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.7926, allocations: 0 / 0.7868 GB, free: 19.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.7926, allocations: 0 / 0.7868 GB, free: 19.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.7931, allocations: 293.1 kB / 0.7871 GB, free: 19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.7932, allocations: 88.3 kB / 0.7872 GB, free: 18.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.7932, allocations: 3.812 kB / 0.7872 GB, free: 18.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.7933, allocations: 22.19 kB / 0.7872 GB, free: 18.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.7935, allocations: 23.45 kB / 0.7873 GB, free: 18.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.7935, allocations: 0 / 0.7873 GB, free: 18.87 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.251e-05/0.7936, allocations: 107.5 kB / 0.7874 GB, free: 18.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7936, allocations: 0 / 0.7874 GB, free: 18.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.7938, allocations: 19.25 kB / 0.7874 GB, free: 18.77 MB / 490.7 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.0001411/0.794, allocations: 105.5 kB / 0.7875 GB, free: 18.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004559/0.7944, allocations: 242.5 kB / 0.7877 GB, free: 18.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7944, allocations: 192 / 0.7877 GB, free: 18.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.7947, allocations: 120 kB / 0.7878 GB, free: 18.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.7949, allocations: 20.81 kB / 0.7878 GB, free: 18.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.7954, allocations: 216.7 kB / 0.7881 GB, free: 18.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.7956, allocations: 0.7031 MB / 0.7887 GB, free: 17.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.399e-05/0.7957, allocations: 12.45 kB / 0.7887 GB, free: 17.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.7957, allocations: 14.81 kB / 0.7888 GB, free: 17.39 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.7958, allocations: 0 / 0.7888 GB, free: 17.39 MB / 490.7 MB Notification: Performance of Templates: time 0.003808/0.7996, allocations: 1.096 MB / 0.7898 GB, free: 16.79 MB / 490.7 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)