Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.809/1.809, allocations: 293 MB / 309 MB, free: 4.82 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002052/0.002052, allocations: 178.8 kB / 378.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.4 MB / 0.6383 GB, free: 8.27 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 84.77 kB / 0.7527 GB, free: 62.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004385/0.0004386, allocations: 12 kB / 0.8768 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.326, allocations: 116.4 MB / 0.9904 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9903/1.316, allocations: 147.2 MB / 1.134 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/1.317, allocations: 87.11 kB / 1.134 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05259/1.369, allocations: 17.02 MB / 1.151 GB, free: 16.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.357e-06/1.369, allocations: 0 / 1.151 GB, free: 16.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001526/1.37, allocations: 27.94 kB / 1.151 GB, free: 16.76 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002855/1.372, allocations: 1.061 MB / 1.152 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/1.373, allocations: 8.031 kB / 1.152 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004615/1.373, allocations: 103.5 kB / 1.152 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/1.375, allocations: 0.6108 MB / 1.153 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/1.375, allocations: 98.03 kB / 1.153 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/1.375, allocations: 61.22 kB / 1.153 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/1.376, allocations: 0.6689 MB / 1.153 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/1.376, allocations: 4 kB / 1.153 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-05/1.377, allocations: 20 kB / 1.153 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/1.377, allocations: 12 kB / 1.154 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/1.378, allocations: 0.4894 MB / 1.154 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/1.381, allocations: 2.206 MB / 1.156 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/1.382, allocations: 0.5948 MB / 1.157 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/1.383, allocations: 237.8 kB / 1.157 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.134e-05/1.383, allocations: 12.53 kB / 1.157 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006582/1.383, allocations: 317.9 kB / 1.157 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 4.558e-06/1.383, allocations: 0 / 1.157 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001451/1.385, allocations: 0.7128 MB / 1.158 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/1.385, allocations: 195.7 kB / 1.158 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000772/1.386, allocations: 0.6184 MB / 1.159 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/1.386, allocations: 37.7 kB / 1.159 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/1.386, allocations: 352.8 kB / 1.159 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/1.386, allocations: 169.6 kB / 1.159 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/1.386, allocations: 12 kB / 1.159 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.429e-05/1.386, allocations: 326 kB / 1.16 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/1.387, allocations: 209.6 kB / 1.16 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/1.387, allocations: 339.7 kB / 1.16 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008876/1.388, allocations: 0.5291 MB / 1.161 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.388, allocations: 0 / 1.161 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001105/1.389, allocations: 0.6648 MB / 1.161 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/1.39, allocations: 193.6 kB / 1.161 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.39, allocations: 4.562 kB / 1.161 GB, free: 6.102 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/1.39, allocations: 4 kB / 1.161 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/1.39, allocations: 123.8 kB / 1.162 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/1.39, allocations: 9.016 kB / 1.162 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/1.391, allocations: 81.36 kB / 1.162 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/1.391, allocations: 20 kB / 1.162 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-06/1.391, allocations: 4.562 kB / 1.162 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008822/1.391, allocations: 0.5583 MB / 1.162 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/1.391, allocations: 4 kB / 1.162 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-06/1.391, allocations: 4 kB / 1.162 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/1.392, allocations: 120.1 kB / 1.162 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.392, allocations: 4 kB / 1.162 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/1.392, allocations: 72.16 kB / 1.162 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/1.392, allocations: 24 kB / 1.162 GB, free: 5.078 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0004041/1.393, allocations: 281 kB / 1.163 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.159e-05/1.393, allocations: 75.09 kB / 1.163 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/1.393, allocations: 79.34 kB / 1.163 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.393, allocations: 4 kB / 1.163 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.393, allocations: 0 / 1.163 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.393, allocations: 4.641 kB / 1.163 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006403/1.394, allocations: 0.6492 MB / 1.164 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.394, allocations: 3.938 kB / 1.164 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004258/1.394, allocations: 106 kB / 1.164 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.394, allocations: 4 kB / 1.164 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/1.394, allocations: 4 kB / 1.164 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.394, allocations: 4 kB / 1.164 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.394, allocations: 0.5625 kB / 1.164 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/1.396, allocations: 0.8371 MB / 1.164 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/1.396, allocations: 208 kB / 1.165 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.33e-05/1.396, allocations: 11.98 kB / 1.165 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/1.396, allocations: 63.95 kB / 1.165 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.815e-05/1.396, allocations: 31.95 kB / 1.165 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/1.396, allocations: 16.92 kB / 1.165 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004536/1.397, allocations: 435 kB / 1.165 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.397, allocations: 4 kB / 1.165 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000647/1.398, allocations: 231.3 kB / 1.165 GB, free: 1.965 MB / 0.7292 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 (45): * Single equations (assignments): 43 * 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.000195/1.398, allocations: 123.1 kB / 1.166 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001383/1.399, allocations: 0.8906 MB / 1.166 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.399, allocations: 0 / 1.166 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004069/1.4, allocations: 252 kB / 1.167 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008842/1.4, allocations: 187.6 kB / 1.167 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/1.403, allocations: 1.401 MB / 1.168 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007234/1.404, allocations: 0.9258 MB / 1.169 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006128/1.404, allocations: 93.72 kB / 1.169 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/1.405, allocations: 47.42 kB / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of SimCode: time 1.132e-05/1.405, allocations: 0.9375 kB / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of Templates: time 0.01842/1.423, allocations: 7.88 MB / 1.177 GB, free: 6.266 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)