Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 293 MB / 309 MB, free: 4.812 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.001216/0.001216, allocations: 183.8 kB / 378.7 MB, free: 1.035 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.864/1.864, allocations: 205.4 MB / 0.6383 GB, free: 8.148 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.001/0.001, allocations: 88.95 kB / 0.7527 GB, free: 62.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004402/0.0004403, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3335, allocations: 116.4 MB / 0.9904 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.379, allocations: 145.9 MB / 1.133 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/1.38, allocations: 83.48 kB / 1.133 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03992/1.42, allocations: 12.58 MB / 1.145 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.629e-06/1.42, allocations: 0 / 1.145 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001404/1.42, allocations: 20 kB / 1.145 GB, free: 20.77 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.003028/1.423, allocations: 0.9464 MB / 1.146 GB, free: 19.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.618e-05/1.423, allocations: 9.578 kB / 1.146 GB, free: 19.85 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004628/1.423, allocations: 88 kB / 1.146 GB, free: 19.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/1.425, allocations: 0.5528 MB / 1.147 GB, free: 19.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.628e-05/1.425, allocations: 47.06 kB / 1.147 GB, free: 19.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/1.425, allocations: 56.97 kB / 1.147 GB, free: 19.14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/1.428, allocations: 0.6632 MB / 1.148 GB, free: 18.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.927e-05/1.428, allocations: 4.734 kB / 1.148 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/1.428, allocations: 24 kB / 1.148 GB, free: 18.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/1.428, allocations: 17.84 kB / 1.148 GB, free: 18.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/1.429, allocations: 0.5182 MB / 1.148 GB, free: 18.05 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005814/1.435, allocations: 2.101 MB / 1.15 GB, free: 16.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/1.437, allocations: 0.5225 MB / 1.151 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/1.438, allocations: 270.3 kB / 1.151 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.353e-05/1.438, allocations: 8.438 kB / 1.151 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000895/1.438, allocations: 306.3 kB / 1.151 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=50): time 8.396e-06/1.439, allocations: 3.984 kB / 1.151 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50): time 0.001893/1.44, allocations: 0.7037 MB / 1.152 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/1.441, allocations: 160.9 kB / 1.152 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/1.442, allocations: 452 kB / 1.153 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/1.442, allocations: 38.27 kB / 1.153 GB, free: 14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/1.442, allocations: 321.9 kB / 1.153 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/1.443, allocations: 164.6 kB / 1.153 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/1.443, allocations: 12 kB / 1.153 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002793/1.443, allocations: 368.6 kB / 1.153 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/1.443, allocations: 205.8 kB / 1.154 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007481/1.444, allocations: 310.7 kB / 1.154 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/1.445, allocations: 0.5014 MB / 1.154 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/1.445, allocations: 0 / 1.154 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001647/1.447, allocations: 0.6251 MB / 1.155 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.008e-05/1.447, allocations: 39.62 kB / 1.155 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.447, allocations: 0.8125 kB / 1.155 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-05/1.447, allocations: 8 kB / 1.155 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/1.448, allocations: 124.7 kB / 1.155 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.629e-05/1.448, allocations: 4.516 kB / 1.155 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006631/1.449, allocations: 86.83 kB / 1.155 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.11e-05/1.449, allocations: 18.77 kB / 1.155 GB, free: 11.38 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.0006014/1.449, allocations: 211.2 kB / 1.155 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/1.449, allocations: 59.28 kB / 1.156 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/1.45, allocations: 72.31 kB / 1.156 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.45, allocations: 8 kB / 1.156 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/1.45, allocations: 0.5625 kB / 1.156 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/1.45, allocations: 2.812 kB / 1.156 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/1.453, allocations: 1.313 MB / 1.157 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.453, allocations: 0 / 1.157 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/1.454, allocations: 116.3 kB / 1.157 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.819e-05/1.454, allocations: 5.547 kB / 1.157 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/1.454, allocations: 8 kB / 1.157 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/1.454, allocations: 5.078 kB / 1.157 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.454, allocations: 0 / 1.157 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/1.456, allocations: 0.892 MB / 1.158 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/1.456, allocations: 176.7 kB / 1.158 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1.456, allocations: 12.88 kB / 1.158 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/1.457, allocations: 59.94 kB / 1.158 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/1.457, allocations: 35.02 kB / 1.158 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/1.457, allocations: 13.36 kB / 1.158 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005586/1.458, allocations: 321.9 kB / 1.159 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.72e-07/1.458, allocations: 0 / 1.159 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007259/1.458, allocations: 143.6 kB / 1.159 GB, free: 8.246 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * 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.0002388/1.459, allocations: 125.2 kB / 1.159 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001237/1.46, allocations: 0.5445 MB / 1.159 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.46, allocations: 0 / 1.159 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004789/1.46, allocations: 261.9 kB / 1.16 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009966/1.461, allocations: 146.7 kB / 1.16 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/1.465, allocations: 1.833 MB / 1.161 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/1.466, allocations: 0.8908 MB / 1.162 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004326/1.466, allocations: 68.72 kB / 1.162 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/1.466, allocations: 36.66 kB / 1.162 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of SimCode: time 1.522e-06/1.466, allocations: 0 / 1.162 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of Templates: time 0.01483/1.481, allocations: 6.345 MB / 1.169 GB, free: 14.82 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)