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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001211/0.001211, allocations: 191.9 kB / 377.1 MB, free: 1.559 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.774/1.774, allocations: 205.4 MB / 0.6367 GB, free: 9.598 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.0008828/0.0008826, allocations: 88.47 kB / 0.751 GB, free: 62.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004466, allocations: 8 kB / 0.8748 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3474, allocations: 116.3 MB / 0.9884 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9011/1.249, allocations: 147.1 MB / 1.132 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/1.249, allocations: 84.73 kB / 1.132 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05314/1.302, allocations: 16.97 MB / 1.149 GB, free: 17.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.579e-06/1.302, allocations: 0 / 1.149 GB, free: 17.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.347e-05/1.302, allocations: 16 kB / 1.149 GB, free: 17.89 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.002235/1.305, allocations: 1.072 MB / 1.15 GB, free: 16.87 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/1.305, allocations: 17.33 kB / 1.15 GB, free: 16.85 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/1.305, allocations: 94.78 kB / 1.15 GB, free: 16.76 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/1.306, allocations: 0.5883 MB / 1.15 GB, free: 16.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/1.306, allocations: 101.9 kB / 1.151 GB, free: 16.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.172e-05/1.306, allocations: 58.56 kB / 1.151 GB, free: 16.05 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/1.307, allocations: 0.653 MB / 1.151 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/1.308, allocations: 0 / 1.151 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.381e-05/1.308, allocations: 25.03 kB / 1.151 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/1.308, allocations: 12 kB / 1.151 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/1.309, allocations: 0.4922 MB / 1.152 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/1.312, allocations: 2.212 MB / 1.154 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/1.313, allocations: 0.6022 MB / 1.154 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.324e-05/1.313, allocations: 9.922 kB / 1.154 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007611/1.314, allocations: 322.6 kB / 1.155 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.993e-06/1.314, allocations: 0 / 1.155 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.00152/1.315, allocations: 0.7128 MB / 1.155 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.316, allocations: 192.8 kB / 1.156 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006405/1.316, allocations: 0.5476 MB / 1.156 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/1.316, allocations: 37.7 kB / 1.156 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/1.317, allocations: 352.8 kB / 1.157 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/1.317, allocations: 161.7 kB / 1.157 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/1.317, allocations: 12 kB / 1.157 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.317, allocations: 329.9 kB / 1.157 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/1.317, allocations: 209 kB / 1.157 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/1.318, allocations: 352.3 kB / 1.158 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/1.318, allocations: 262.5 kB / 1.158 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.318, allocations: 1.031 kB / 1.158 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001151/1.319, allocations: 0.6607 MB / 1.158 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003296/1.32, allocations: 0.9869 MB / 1.159 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.32, allocations: 0 / 1.159 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/1.32, allocations: 8 kB / 1.159 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/1.32, allocations: 130 kB / 1.16 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/1.32, allocations: 4 kB / 1.16 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/1.321, allocations: 83.48 kB / 1.16 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/1.321, allocations: 27.94 kB / 1.16 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.617e-06/1.321, allocations: 4 kB / 1.16 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000906/1.322, allocations: 0.5397 MB / 1.16 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.322, allocations: 8.969 kB / 1.16 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.681e-06/1.322, allocations: 8.312 kB / 1.16 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/1.322, allocations: 111.9 kB / 1.16 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/1.322, allocations: 11.89 kB / 1.16 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/1.323, allocations: 83.48 kB / 1.16 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/1.323, allocations: 16 kB / 1.16 GB, free: 6.164 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.0003577/1.323, allocations: 269.1 kB / 1.161 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-05/1.323, allocations: 71.16 kB / 1.161 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/1.323, allocations: 83.33 kB / 1.161 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/1.323, allocations: 4 kB / 1.161 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.323, allocations: 7.891 kB / 1.161 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.323, allocations: 1.219 kB / 1.161 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/1.324, allocations: 0.6531 MB / 1.162 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.324, allocations: 0 / 1.162 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/1.325, allocations: 101.8 kB / 1.162 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.325, allocations: 0 / 1.162 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/1.325, allocations: 15.98 kB / 1.162 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.325, allocations: 0 / 1.162 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.325, allocations: 3.938 kB / 1.162 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/1.326, allocations: 0.8332 MB / 1.162 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/1.326, allocations: 204 kB / 1.163 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/1.326, allocations: 8 kB / 1.163 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/1.327, allocations: 63.95 kB / 1.163 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/1.327, allocations: 35.94 kB / 1.163 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/1.327, allocations: 25.09 kB / 1.163 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004822/1.328, allocations: 446.9 kB / 1.163 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.328, allocations: 0 / 1.163 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00065/1.328, allocations: 231.3 kB / 1.163 GB, free: 3.047 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.0002217/1.328, allocations: 119.1 kB / 1.164 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001469/1.33, allocations: 0.8831 MB / 1.164 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.33, allocations: 0 / 1.164 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000428/1.33, allocations: 263.7 kB / 1.165 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008659/1.331, allocations: 173.9 kB / 1.165 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/1.333, allocations: 1.388 MB / 1.166 GB, free: 176 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/1.334, allocations: 0.9374 MB / 1.167 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004723/1.334, allocations: 98.23 kB / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/1.335, allocations: 43.44 kB / 1.167 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/1.335, allocations: 4 kB / 1.167 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.01551/1.35, allocations: 7.728 MB / 1.175 GB, free: 7.508 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)