Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.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.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7809/0.7809, allocations: 133.7 MB / 148.6 MB, free: 13.64 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.001233/0.001233, allocations: 176.1 kB / 180.9 MB, free: 15.07 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.503/1.503, allocations: 170.7 MB / 383.7 MB, free: 16.15 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.001696/0.001696, allocations: 120.6 kB / 454.6 MB, free: 9.707 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.1695/0.1699, allocations: 73.41 MB / 0.6812 GB, free: 5.562 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4213/0.5913, allocations: 106.2 MB / 0.7849 GB, free: 21.46 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.5916, allocations: 76.59 kB / 0.785 GB, free: 21.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.047/0.6386, allocations: 19.73 MB / 0.8043 GB, free: 5.777 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6386, allocations: 4 kB / 0.8043 GB, free: 5.773 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.84e-05/0.6387, allocations: 19.94 kB / 0.8043 GB, free: 5.754 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002246/0.6409, allocations: 1.059 MB / 0.8053 GB, free: 4.637 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.641, allocations: 13.22 kB / 0.8053 GB, free: 4.625 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002995/0.6413, allocations: 90.97 kB / 0.8054 GB, free: 4.535 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.6424, allocations: 0.5687 MB / 0.806 GB, free: 3.926 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.6425, allocations: 96.41 kB / 0.8061 GB, free: 3.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-05/0.6426, allocations: 51.98 kB / 0.8061 GB, free: 3.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.6437, allocations: 0.5959 MB / 0.8067 GB, free: 3.148 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.6437, allocations: 4 kB / 0.8067 GB, free: 3.145 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.325e-05/0.6438, allocations: 20.56 kB / 0.8067 GB, free: 3.125 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.6438, allocations: 12 kB / 0.8067 GB, free: 3.113 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008857/0.6447, allocations: 471.7 kB / 0.8072 GB, free: 2.652 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.6472, allocations: 1.499 MB / 0.8086 GB, free: 1.102 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.6484, allocations: 0.6163 MB / 0.8092 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.6485, allocations: 4 kB / 0.8092 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000655/0.6491, allocations: 314.1 kB / 0.8095 GB, free: 160 kB / 490.7 MB Notification: Performance of pre-optimization done (n=44): time 2.264e-06/0.6492, allocations: 0 / 0.8095 GB, free: 160 kB / 490.7 MB Notification: Performance of matching and sorting (n=44): time 0.001566/0.6507, allocations: 0.7042 MB / 0.8102 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.6509, allocations: 213.6 kB / 0.8104 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007018/0.6516, allocations: 0.4917 MB / 0.8109 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/0.6517, allocations: 37.7 kB / 0.811 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.6519, allocations: 316.6 kB / 0.8113 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.6521, allocations: 153.8 kB / 0.8114 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.6521, allocations: 8 kB / 0.8114 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.6523, allocations: 375.7 kB / 0.8118 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.6528, allocations: 200.9 kB / 0.812 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.6533, allocations: 293.2 kB / 0.8122 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/0.6538, allocations: 242.4 kB / 0.8125 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6538, allocations: 4 kB / 0.8125 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001174/0.655, allocations: 0.5946 MB / 0.8131 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.6551, allocations: 33.7 kB / 0.8131 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.6551, allocations: 3.984 kB / 0.8131 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.6551, allocations: 0 / 0.8131 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.6556, allocations: 119.8 kB / 0.8132 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.6557, allocations: 4 kB / 0.8132 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.6562, allocations: 75.55 kB / 0.8133 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.6562, allocations: 16 kB / 0.8133 GB, free: 12.18 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * 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.0003301/0.6566, allocations: 197.7 kB / 0.8135 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.6567, allocations: 63.25 kB / 0.8135 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.6568, allocations: 70.52 kB / 0.8136 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.6569, allocations: 4 kB / 0.8136 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.6569, allocations: 3.953 kB / 0.8136 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.6569, allocations: 4.047 kB / 0.8136 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007649/0.6577, allocations: 0.6335 MB / 0.8142 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6577, allocations: 0 / 0.8142 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/0.6582, allocations: 99.88 kB / 0.8143 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.6582, allocations: 0 / 0.8143 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.6582, allocations: 8 kB / 0.8143 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.6582, allocations: 3.984 kB / 0.8143 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6582, allocations: 0 / 0.8143 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.6599, allocations: 0.8232 MB / 0.8151 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.6601, allocations: 196.2 kB / 0.8153 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.521e-05/0.6602, allocations: 8 kB / 0.8153 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/0.6608, allocations: 63.95 kB / 0.8154 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/0.6609, allocations: 31.95 kB / 0.8154 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.6609, allocations: 15.98 kB / 0.8155 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004542/0.6614, allocations: 403.1 kB / 0.8158 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6614, allocations: 0 / 0.8158 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003998/0.6618, allocations: 131.6 kB / 0.816 GB, free: 9.352 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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.0001743/0.662, allocations: 123.1 kB / 0.8161 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.6631, allocations: 0.5293 MB / 0.8166 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6631, allocations: 0 / 0.8166 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.6636, allocations: 247.8 kB / 0.8168 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007309/0.6643, allocations: 148 kB / 0.817 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.6666, allocations: 1.302 MB / 0.8182 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.6671, allocations: 0.9097 MB / 0.8191 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003436/0.6675, allocations: 76.66 kB / 0.8192 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.6677, allocations: 47.38 kB / 0.8193 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.6677, allocations: 4 kB / 0.8193 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.01384/0.6815, allocations: 7.008 MB / 0.8261 GB, free: 14.97 MB / 0.5105 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)