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.241/2.241, allocations: 252.6 MB / 265.2 MB, free: 5.742 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 167.9 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.295/2.295, allocations: 205.4 MB / 0.5754 GB, free: 10.46 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.001719/0.001719, allocations: 90.62 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.554e-05/4.572e-05, allocations: 4 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2229, allocations: 106.2 MB / 0.8949 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.922/1.145, allocations: 138.3 MB / 1.03 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/1.145, allocations: 78.17 kB / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05883/1.204, allocations: 12.6 MB / 1.042 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.482e-06/1.204, allocations: 0 / 1.042 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.749e-05/1.204, allocations: 16 kB / 1.042 GB, free: 1.695 MB / 0.6511 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.002339/1.207, allocations: 0.8664 MB / 1.043 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/1.207, allocations: 8.031 kB / 1.043 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003264/1.207, allocations: 90.97 kB / 1.043 GB, free: 0.7227 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/1.208, allocations: 0.5322 MB / 1.044 GB, free: 268 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.793e-05/1.208, allocations: 43.31 kB / 1.044 GB, free: 240 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/1.209, allocations: 55.69 kB / 1.044 GB, free: 204 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/1.21, allocations: 0.6087 MB / 1.044 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.017e-05/1.21, allocations: 0 / 1.044 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.7e-05/1.21, allocations: 31.02 kB / 1.045 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/1.21, allocations: 12 kB / 1.045 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/1.212, allocations: 429.1 kB / 1.045 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004931/1.217, allocations: 2.104 MB / 1.047 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/1.218, allocations: 429.1 kB / 1.047 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/1.218, allocations: 222.6 kB / 1.048 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.243e-05/1.218, allocations: 8.422 kB / 1.048 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006469/1.219, allocations: 242.3 kB / 1.048 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=50): time 3.326e-06/1.219, allocations: 4 kB / 1.048 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=50): time 0.001181/1.22, allocations: 435.7 kB / 1.048 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/1.221, allocations: 170.4 kB / 1.048 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007179/1.221, allocations: 391.8 kB / 1.049 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.311e-05/1.221, allocations: 36.45 kB / 1.049 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000321/1.222, allocations: 310.9 kB / 1.049 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/1.222, allocations: 173.7 kB / 1.049 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/1.222, allocations: 6.188 kB / 1.049 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002/1.222, allocations: 373.1 kB / 1.05 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/1.223, allocations: 156.2 kB / 1.05 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005625/1.223, allocations: 255.9 kB / 1.05 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005153/1.224, allocations: 211.5 kB / 1.05 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.224, allocations: 3.953 kB / 1.05 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001367/1.225, allocations: 0.5278 MB / 1.051 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/1.225, allocations: 37.83 kB / 1.051 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.225, allocations: 4 kB / 1.051 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/1.225, allocations: 4 kB / 1.051 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009716/1.226, allocations: 122.4 kB / 1.051 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/1.226, allocations: 11.97 kB / 1.051 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008049/1.227, allocations: 81.62 kB / 1.051 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/1.227, allocations: 26.11 kB / 1.051 GB, free: 10.64 MB / 0.6667 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.0002032/1.227, allocations: 131.7 kB / 1.051 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/1.228, allocations: 59.3 kB / 1.051 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/1.228, allocations: 72.61 kB / 1.051 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/1.228, allocations: 8 kB / 1.051 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.228, allocations: 0 / 1.051 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/1.228, allocations: 0 / 1.051 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/1.23, allocations: 1.225 MB / 1.053 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.23, allocations: 0 / 1.053 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/1.231, allocations: 107.4 kB / 1.053 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.231, allocations: 4 kB / 1.053 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/1.231, allocations: 10.62 kB / 1.053 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/1.232, allocations: 0 / 1.053 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.232, allocations: 0 / 1.053 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/1.233, allocations: 0.7653 MB / 1.053 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/1.234, allocations: 182.1 kB / 1.054 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.234, allocations: 15.12 kB / 1.054 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/1.235, allocations: 47.08 kB / 1.054 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/1.235, allocations: 35.39 kB / 1.054 GB, free: 8.609 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/1.235, allocations: 19.61 kB / 1.054 GB, free: 8.594 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005606/1.235, allocations: 308.7 kB / 1.054 GB, free: 8.363 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.51e-07/1.235, allocations: 0 / 1.054 GB, free: 8.363 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007114/1.236, allocations: 153.4 kB / 1.054 GB, free: 8.227 MB / 0.6667 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.0002295/1.236, allocations: 113.2 kB / 1.054 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001244/1.238, allocations: 468.9 kB / 1.055 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.238, allocations: 384 / 1.055 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005253/1.238, allocations: 215 kB / 1.055 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/1.239, allocations: 138.3 kB / 1.055 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00473/1.244, allocations: 1.266 MB / 1.056 GB, free: 6.367 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/1.245, allocations: 0.906 MB / 1.057 GB, free: 5.434 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005648/1.245, allocations: 56.55 kB / 1.057 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/1.246, allocations: 43.42 kB / 1.057 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of SimCode: time 1.453e-06/1.246, allocations: 0 / 1.057 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of Templates: time 0.02141/1.267, allocations: 6.227 MB / 1.063 GB, free: 15.19 MB / 0.6823 GB