Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.413/2.413, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001532, allocations: 180.6 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.465/2.465, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 104 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007464/0.0007462, allocations: 11.78 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2362, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2622/0.4984, allocations: 138.4 MB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/0.4988, allocations: 83.94 kB / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05362/0.5524, allocations: 12.6 MB / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.775e-06/0.5525, allocations: 8.188 kB / 1.046 GB, free: 10.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.731e-05/0.5526, allocations: 15.94 kB / 1.046 GB, free: 10.17 MB / 0.698 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.002821/0.5554, allocations: 0.9504 MB / 1.047 GB, free: 9.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.5555, allocations: 8.031 kB / 1.047 GB, free: 9.152 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.5559, allocations: 86.97 kB / 1.047 GB, free: 9.066 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.5573, allocations: 0.525 MB / 1.048 GB, free: 8.504 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/0.5574, allocations: 45.31 kB / 1.048 GB, free: 8.461 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.5576, allocations: 60 kB / 1.048 GB, free: 8.402 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.5597, allocations: 0.6599 MB / 1.049 GB, free: 7.711 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/0.5598, allocations: 8 kB / 1.049 GB, free: 7.703 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.5599, allocations: 23.95 kB / 1.049 GB, free: 7.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.5599, allocations: 16 kB / 1.049 GB, free: 7.664 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.562, allocations: 0.5204 MB / 1.049 GB, free: 7.145 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005551/0.5676, allocations: 2.099 MB / 1.051 GB, free: 4.977 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.5697, allocations: 0.5276 MB / 1.052 GB, free: 4.438 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.5698, allocations: 4.438 kB / 1.052 GB, free: 4.434 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.5709, allocations: 297.3 kB / 1.052 GB, free: 4.133 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 4.107e-06/0.571, allocations: 7.938 kB / 1.052 GB, free: 4.125 MB / 0.698 GB Notification: Performance of matching and sorting (n=50): time 0.002746/0.5737, allocations: 0.7015 MB / 1.053 GB, free: 3.418 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.5739, allocations: 166.6 kB / 1.053 GB, free: 3.219 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008602/0.5748, allocations: 401.2 kB / 1.053 GB, free: 2.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.575, allocations: 37.69 kB / 1.053 GB, free: 2.777 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.5754, allocations: 325.1 kB / 1.054 GB, free: 2.457 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.5756, allocations: 161.7 kB / 1.054 GB, free: 2.297 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.5757, allocations: 8 kB / 1.054 GB, free: 2.289 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002174/0.5759, allocations: 366.8 kB / 1.054 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009/0.5768, allocations: 201 kB / 1.054 GB, free: 1.727 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.5785, allocations: 311.5 kB / 1.055 GB, free: 1.387 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.58, allocations: 259.8 kB / 1.055 GB, free: 1.133 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.5801, allocations: 0 / 1.055 GB, free: 1.133 MB / 0.698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003983/0.5841, allocations: 0.6287 MB / 1.056 GB, free: 500 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.714e-05/0.5842, allocations: 33.7 kB / 1.056 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.5843, allocations: 0 / 1.056 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.026e-05/0.5843, allocations: 4 kB / 1.056 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/0.5861, allocations: 128 kB / 1.056 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-05/0.5862, allocations: 4 kB / 1.056 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.5875, allocations: 87.48 kB / 1.056 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.5876, allocations: 16 kB / 1.056 GB, free: 220 kB / 0.698 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.6453/1.233, allocations: 215.2 kB / 1.056 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/1.233, allocations: 57.8 kB / 1.056 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/1.234, allocations: 65.25 kB / 1.056 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.234, allocations: 7.359 kB / 1.056 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.234, allocations: 0 / 1.056 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/1.234, allocations: 2.438 kB / 1.056 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/1.237, allocations: 1.316 MB / 1.057 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.237, allocations: 0 / 1.057 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009554/1.238, allocations: 109.5 kB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/1.238, allocations: 2.531 kB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-05/1.238, allocations: 10.34 kB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/1.238, allocations: 2.969 kB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.238, allocations: 0 / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/1.24, allocations: 0.8956 MB / 1.058 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/1.241, allocations: 183.5 kB / 1.059 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.241, allocations: 19.09 kB / 1.059 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006712/1.241, allocations: 52.69 kB / 1.059 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.242, allocations: 33.8 kB / 1.059 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/1.242, allocations: 15.62 kB / 1.059 GB, free: 146.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000514/1.242, allocations: 313.8 kB / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.242, allocations: 0 / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006866/1.243, allocations: 157.2 kB / 1.059 GB, free: 146.1 MB / 0.698 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.0001929/1.243, allocations: 118.2 kB / 1.059 GB, free: 146 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001629/1.245, allocations: 0.545 MB / 1.06 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/1.245, allocations: 0 / 1.06 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007567/1.246, allocations: 259.9 kB / 1.06 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/1.247, allocations: 131 kB / 1.06 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/1.252, allocations: 1.841 MB / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/1.252, allocations: 0.9048 MB / 1.063 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005235/1.253, allocations: 63.16 kB / 1.063 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/1.253, allocations: 37.7 kB / 1.063 GB, free: 144.4 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/1.253, allocations: 0 / 1.063 GB, free: 144.4 MB / 0.698 GB Notification: Performance of Templates: time 0.02269/1.276, allocations: 6.227 MB / 1.069 GB, free: 144.1 MB / 0.698 GB