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.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.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.4-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 289.9 MB / 297.4 MB, free: 6.414 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.001213/0.001213, allocations: 184.8 kB / 366.7 MB, free: 1.688 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.676/1.676, allocations: 205.2 MB / 0.626 GB, free: 7.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.0008802/0.0008803, allocations: 98.52 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.671e-05/1.707e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6544/0.6544, allocations: 116.3 MB / 0.9732 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.846, allocations: 145.1 MB / 1.115 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.8463, allocations: 75.95 kB / 1.115 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03134/0.8777, allocations: 12.43 MB / 1.127 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8777, allocations: 0 / 1.127 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.556e-05/0.8778, allocations: 16 kB / 1.127 GB, free: 8.672 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.001619/0.8794, allocations: 0.8742 MB / 1.128 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.8795, allocations: 12.03 kB / 1.128 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.8797, allocations: 83.45 kB / 1.128 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009032/0.8806, allocations: 0.5272 MB / 1.129 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.8806, allocations: 23.94 kB / 1.129 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.8808, allocations: 36 kB / 1.129 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007865/0.8815, allocations: 394.6 kB / 1.129 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009295/0.8825, allocations: 0.528 MB / 1.13 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.8825, allocations: 0 / 1.13 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.8826, allocations: 0 / 1.13 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.8826, allocations: 19.95 kB / 1.13 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/0.8856, allocations: 1.976 MB / 1.132 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006896/0.8863, allocations: 411.5 kB / 1.132 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.8866, allocations: 202.5 kB / 1.132 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.8867, allocations: 4.438 kB / 1.132 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004369/0.8871, allocations: 240.4 kB / 1.132 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=50): time 1.984e-06/0.8872, allocations: 0 / 1.132 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50): time 0.0007088/0.8879, allocations: 407.4 kB / 1.133 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/0.888, allocations: 162.7 kB / 1.133 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.8884, allocations: 346 kB / 1.133 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.8884, allocations: 27.11 kB / 1.133 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.8887, allocations: 320.3 kB / 1.134 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.8888, allocations: 165.5 kB / 1.134 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.8888, allocations: 0 / 1.134 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.889, allocations: 362.8 kB / 1.134 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.8892, allocations: 149.1 kB / 1.134 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.8895, allocations: 242.5 kB / 1.134 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.8898, allocations: 178.1 kB / 1.135 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.8898, allocations: 0 / 1.135 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007507/0.8906, allocations: 466.3 kB / 1.135 GB, free: 308 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.8907, allocations: 33.7 kB / 1.135 GB, free: 268 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.8907, allocations: 7.953 kB / 1.135 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.8907, allocations: 4.188 kB / 1.135 GB, free: 256 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.8912, allocations: 123.8 kB / 1.135 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.8913, allocations: 7.938 kB / 1.135 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.8917, allocations: 73.52 kB / 1.135 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.8917, allocations: 16.05 kB / 1.135 GB, free: 36 kB / 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 () * 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.0001627/0.8919, allocations: 123.6 kB / 1.135 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.204e-05/0.892, allocations: 55.34 kB / 1.135 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.8921, allocations: 57.2 kB / 1.136 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.934e-06/0.8921, allocations: 7.953 kB / 1.136 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.8922, allocations: 4 kB / 1.136 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.8922, allocations: 3.984 kB / 1.136 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.8936, allocations: 1.11 MB / 1.137 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.8937, allocations: 0 / 1.137 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.8942, allocations: 111.8 kB / 1.137 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.8942, allocations: 4 kB / 1.137 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.8942, allocations: 7.953 kB / 1.137 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.8942, allocations: 0 / 1.137 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.8942, allocations: 0 / 1.137 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009942/0.8952, allocations: 0.7134 MB / 1.137 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.8955, allocations: 176.4 kB / 1.138 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.697e-05/0.8956, allocations: 3.984 kB / 1.138 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.8959, allocations: 43.92 kB / 1.138 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.8961, allocations: 40.38 kB / 1.138 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.8961, allocations: 20.09 kB / 1.138 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002868/0.8964, allocations: 271 kB / 1.138 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8964, allocations: 4 kB / 1.138 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004659/0.8969, allocations: 135.5 kB / 1.138 GB, free: 13.08 MB / 0.7448 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) * 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.000206/0.8971, allocations: 108.4 kB / 1.138 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006523/0.8977, allocations: 435.2 kB / 1.139 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8978, allocations: 4 kB / 1.139 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.898, allocations: 197.6 kB / 1.139 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.8987, allocations: 123.2 kB / 1.139 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.9013, allocations: 1.244 MB / 1.14 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.9018, allocations: 0.9095 MB / 1.141 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002839/0.9021, allocations: 63.17 kB / 1.141 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.9022, allocations: 39.42 kB / 1.141 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/0.9022, allocations: 0 / 1.141 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of Templates: time 0.01034/0.9126, allocations: 5.511 MB / 1.146 GB, free: 4.555 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)