Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.574/1.574, allocations: 297.8 MB / 313.7 MB, free: 108 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009636/0.0009634, allocations: 172.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.2 MB / 0.6626 GB, free: 4.324 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007917/0.0007918, allocations: 90.56 kB / 0.7808 GB, free: 43.81 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0004002, allocations: 17.39 kB / 0.9088 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6459/0.6463, allocations: 120.3 MB / 1.026 GB, free: 57.05 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.196/0.8423, allocations: 147.9 MB / 1.171 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.8426, allocations: 80.56 kB / 1.171 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0299/0.8725, allocations: 12.39 MB / 1.183 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.544e-06/0.8726, allocations: 0 / 1.183 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.869e-05/0.8727, allocations: 20.12 kB / 1.183 GB, free: 13.92 MB / 0.7605 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.001926/0.8746, allocations: 0.9541 MB / 1.184 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.8746, allocations: 8.031 kB / 1.184 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002643/0.8749, allocations: 88 kB / 1.184 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009282/0.8759, allocations: 0.5417 MB / 1.184 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/0.8759, allocations: 49.67 kB / 1.185 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.876, allocations: 60.38 kB / 1.185 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.8773, allocations: 0.6527 MB / 1.185 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.8773, allocations: 11.92 kB / 1.185 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.794e-05/0.8774, allocations: 27.94 kB / 1.185 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.8774, allocations: 20 kB / 1.185 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.8785, allocations: 0.5126 MB / 1.186 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.8817, allocations: 2.103 MB / 1.188 GB, free: 8.699 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.8828, allocations: 0.5293 MB / 1.188 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004993/0.8833, allocations: 271.6 kB / 1.189 GB, free: 7.898 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.728e-05/0.8834, allocations: 4.438 kB / 1.189 GB, free: 7.891 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006259/0.884, allocations: 301.3 kB / 1.189 GB, free: 7.586 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=50): time 2.715e-06/0.884, allocations: 0 / 1.189 GB, free: 7.586 MB / 0.7605 GB Notification: Performance of matching and sorting (n=50): time 0.001435/0.8855, allocations: 0.7054 MB / 1.19 GB, free: 6.875 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/0.8856, allocations: 162.6 kB / 1.19 GB, free: 6.68 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000503/0.8861, allocations: 450 kB / 1.19 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.8862, allocations: 41.69 kB / 1.19 GB, free: 6.184 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.8864, allocations: 317.1 kB / 1.191 GB, free: 5.867 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.8865, allocations: 165.6 kB / 1.191 GB, free: 5.703 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.8866, allocations: 12 kB / 1.191 GB, free: 5.691 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.8867, allocations: 370.8 kB / 1.191 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.8872, allocations: 201 kB / 1.191 GB, free: 5.121 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.8877, allocations: 307.5 kB / 1.192 GB, free: 4.793 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008936/0.8886, allocations: 0.5061 MB / 1.192 GB, free: 4.258 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.8886, allocations: 0 / 1.192 GB, free: 4.258 MB / 0.7605 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001123/0.8897, allocations: 0.6209 MB / 1.193 GB, free: 3.621 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.8898, allocations: 33.64 kB / 1.193 GB, free: 3.582 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8898, allocations: 8.188 kB / 1.193 GB, free: 3.574 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.8898, allocations: 4 kB / 1.193 GB, free: 3.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.8903, allocations: 127.7 kB / 1.193 GB, free: 3.445 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.8903, allocations: 4 kB / 1.193 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.8907, allocations: 83.55 kB / 1.193 GB, free: 3.359 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.8908, allocations: 20 kB / 1.193 GB, free: 3.34 MB / 0.7605 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.0002885/0.8911, allocations: 206.4 kB / 1.193 GB, free: 3.129 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.8912, allocations: 67.25 kB / 1.193 GB, free: 3.062 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.8913, allocations: 73.58 kB / 1.193 GB, free: 2.992 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.8913, allocations: 8 kB / 1.193 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.8913, allocations: 0 / 1.193 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.8914, allocations: 3.984 kB / 1.193 GB, free: 2.98 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.8933, allocations: 1.314 MB / 1.195 GB, free: 1.609 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8933, allocations: 0 / 1.195 GB, free: 1.609 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004727/0.8938, allocations: 107.9 kB / 1.195 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.8938, allocations: 0 / 1.195 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.8938, allocations: 15.98 kB / 1.195 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.8938, allocations: 8 kB / 1.195 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8938, allocations: 0 / 1.195 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.8953, allocations: 0.8973 MB / 1.196 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.8956, allocations: 180.3 kB / 1.196 GB, free: 384 kB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.8956, allocations: 15.98 kB / 1.196 GB, free: 368 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.896, allocations: 47.97 kB / 1.196 GB, free: 320 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/0.8961, allocations: 36.38 kB / 1.196 GB, free: 284 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.8961, allocations: 12 kB / 1.196 GB, free: 272 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003545/0.8965, allocations: 318.9 kB / 1.196 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8965, allocations: 0 / 1.196 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004708/0.897, allocations: 151.5 kB / 1.196 GB, free: 15.81 MB / 0.7761 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.0001666/0.8972, allocations: 126.3 kB / 1.196 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009924/0.8982, allocations: 0.5482 MB / 1.197 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.8982, allocations: 3.938 kB / 1.197 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.8986, allocations: 258.4 kB / 1.197 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007755/0.8994, allocations: 149.5 kB / 1.197 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.9025, allocations: 1.828 MB / 1.199 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.903, allocations: 0.8901 MB / 1.2 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003078/0.9033, allocations: 68.53 kB / 1.2 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.9034, allocations: 43.42 kB / 1.2 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of SimCode: time 3.11e-07/0.9034, allocations: 0 / 1.2 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of Templates: time 0.01225/0.9157, allocations: 6.331 MB / 1.206 GB, free: 5.594 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)