Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.731/4.731, allocations: 0.5623 GB / 0.5775 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002432/0.002432, allocations: 360.2 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.21/4.21, allocations: 410.7 MB / 1.113 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001824/0.001824, allocations: 193.7 kB / 1.226 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005005/0.0005006, allocations: 12 kB / 1.349 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7217/0.7222, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2097/0.932, allocations: 144.7 MB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.9324, allocations: 91.28 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04659/0.979, allocations: 12.54 MB / 1.615 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.575e-06/0.979, allocations: 224 / 1.615 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.803e-05/0.9791, allocations: 15.94 kB / 1.615 GB, free: 127 MB / 0.8542 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.002343/0.9815, allocations: 0.9566 MB / 1.616 GB, free: 126 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.9815, allocations: 15.62 kB / 1.616 GB, free: 126 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.9818, allocations: 83.7 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.9828, allocations: 0.5338 MB / 1.617 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/0.9829, allocations: 43.22 kB / 1.617 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.9831, allocations: 60 kB / 1.617 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.9848, allocations: 0.6641 MB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.864e-05/0.9849, allocations: 9.594 kB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.889e-05/0.985, allocations: 29.28 kB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.985, allocations: 15.95 kB / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.9868, allocations: 0.5172 MB / 1.618 GB, free: 124 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004381/0.9912, allocations: 2.093 MB / 1.62 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.993, allocations: 0.5337 MB / 1.62 GB, free: 121.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007822/0.9938, allocations: 265 kB / 1.621 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-05/0.9939, allocations: 5.688 kB / 1.621 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009389/0.9948, allocations: 300.3 kB / 1.621 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=50): time 3.507e-06/0.9948, allocations: 2.438 kB / 1.621 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=50): time 0.002371/0.9972, allocations: 0.7075 MB / 1.622 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.9973, allocations: 166.6 kB / 1.622 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006968/0.998, allocations: 451.9 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.171e-05/0.9981, allocations: 37.7 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.9984, allocations: 321.1 kB / 1.623 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.9986, allocations: 169.5 kB / 1.623 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.9986, allocations: 8.656 kB / 1.623 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.9987, allocations: 367.9 kB / 1.623 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007094/0.9995, allocations: 195.8 kB / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008041/1, allocations: 321.1 kB / 1.624 GB, free: 118 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007713/1.001, allocations: 251.2 kB / 1.624 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.001, allocations: 1.25 kB / 1.624 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001825/1.003, allocations: 0.6264 MB / 1.624 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/1.003, allocations: 34.27 kB / 1.624 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.003, allocations: 0.75 kB / 1.624 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/1.003, allocations: 4 kB / 1.624 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009049/1.004, allocations: 126.7 kB / 1.625 GB, free: 117 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/1.004, allocations: 7.938 kB / 1.625 GB, free: 117 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008201/1.005, allocations: 86.23 kB / 1.625 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/1.005, allocations: 16 kB / 1.625 GB, free: 116.9 MB / 0.8542 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.000449/1.005, allocations: 202.7 kB / 1.625 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/1.005, allocations: 67.98 kB / 1.625 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/1.006, allocations: 70.36 kB / 1.625 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/1.006, allocations: 4 kB / 1.625 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/1.006, allocations: 0.9375 kB / 1.625 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.006, allocations: 5.016 kB / 1.625 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/1.009, allocations: 1.317 MB / 1.626 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.009, allocations: 0 / 1.626 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009714/1.01, allocations: 109.2 kB / 1.626 GB, free: 115 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/1.01, allocations: 8.625 kB / 1.626 GB, free: 115 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/1.01, allocations: 4 kB / 1.626 GB, free: 115 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/1.01, allocations: 4.75 kB / 1.626 GB, free: 115 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.01, allocations: 0 / 1.626 GB, free: 115 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/1.012, allocations: 0.8989 MB / 1.627 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/1.013, allocations: 180.4 kB / 1.627 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.013, allocations: 12 kB / 1.627 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/1.013, allocations: 58.05 kB / 1.628 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/1.014, allocations: 42.95 kB / 1.628 GB, free: 113.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/1.014, allocations: 12 kB / 1.628 GB, free: 113.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004943/1.014, allocations: 318.9 kB / 1.628 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/1.014, allocations: 0 / 1.628 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006636/1.015, allocations: 148.7 kB / 1.628 GB, free: 113.4 MB / 0.8542 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.0001919/1.015, allocations: 124.3 kB / 1.628 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001658/1.017, allocations: 0.5486 MB / 1.629 GB, free: 112.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.017, allocations: 0.625 kB / 1.629 GB, free: 112.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007718/1.017, allocations: 257.9 kB / 1.629 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/1.019, allocations: 150.8 kB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00483/1.024, allocations: 1.825 MB / 1.631 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/1.024, allocations: 0.9059 MB / 1.632 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005457/1.025, allocations: 68.34 kB / 1.632 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/1.025, allocations: 39.44 kB / 1.632 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.503e-06/1.025, allocations: 3.938 kB / 1.632 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.01764/1.042, allocations: 6.232 MB / 1.638 GB, free: 103.4 MB / 0.8542 GB