Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.275/2.275, allocations: 251.1 MB / 266.1 MB, free: 11.57 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.002151/0.00215, allocations: 185.2 kB / 325.6 MB, free: 2.805 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.48/2.48, 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.001119/0.001119, allocations: 97.11 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004764, allocations: 11.84 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.214, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2313/0.4453, allocations: 139.3 MB / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.4457, allocations: 79.95 kB / 1.035 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0326/0.4783, allocations: 7.596 MB / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4783, allocations: 0 / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.623e-05/0.4784, allocations: 12 kB / 1.042 GB, free: 14.24 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001595/0.48, allocations: 0.6997 MB / 1.043 GB, free: 13.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4801, allocations: 15.97 kB / 1.043 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.4802, allocations: 67.23 kB / 1.043 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008087/0.4811, allocations: 395.6 kB / 1.044 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/0.4811, allocations: 29 kB / 1.044 GB, free: 12.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.714e-05/0.4812, allocations: 40 kB / 1.044 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.4824, allocations: 414.4 kB / 1.044 GB, free: 12.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.4825, allocations: 8 kB / 1.044 GB, free: 12.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/0.4825, allocations: 16 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.4826, allocations: 8 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.4836, allocations: 295.8 kB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.4868, allocations: 1.383 MB / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.488, allocations: 352.6 kB / 1.046 GB, free: 10.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.338e-05/0.4881, allocations: 11.98 kB / 1.046 GB, free: 10.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005858/0.4887, allocations: 181.5 kB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.417e-06/0.4887, allocations: 0 / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001454/0.4902, allocations: 438.5 kB / 1.047 GB, free: 9.711 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.61e-05/0.4903, allocations: 140.5 kB / 1.047 GB, free: 9.543 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006061/0.4909, allocations: 316.8 kB / 1.047 GB, free: 9.234 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.76e-05/0.491, allocations: 37.7 kB / 1.047 GB, free: 9.191 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.4913, allocations: 232.8 kB / 1.047 GB, free: 8.957 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.4914, allocations: 102.5 kB / 1.047 GB, free: 8.855 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.4914, allocations: 8 kB / 1.047 GB, free: 8.848 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4916, allocations: 350.8 kB / 1.048 GB, free: 8.496 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.4921, allocations: 112 kB / 1.048 GB, free: 8.387 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.4926, allocations: 187.1 kB / 1.048 GB, free: 8.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/0.493, allocations: 130.2 kB / 1.048 GB, free: 8.055 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.4931, allocations: 0 / 1.048 GB, free: 8.055 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001136/0.4942, allocations: 374.2 kB / 1.049 GB, free: 7.684 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.4942, allocations: 4 kB / 1.049 GB, free: 7.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.4943, allocations: 4 kB / 1.049 GB, free: 7.676 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.4943, allocations: 4 kB / 1.049 GB, free: 7.672 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000526/0.4948, allocations: 63.84 kB / 1.049 GB, free: 7.609 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4948, allocations: 4 kB / 1.049 GB, free: 7.605 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.4953, allocations: 59.78 kB / 1.049 GB, free: 7.547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.4954, allocations: 11.94 kB / 1.049 GB, free: 7.535 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.00034/0.4957, allocations: 173.7 kB / 1.049 GB, free: 7.355 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/0.4958, allocations: 39.53 kB / 1.049 GB, free: 7.316 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.4959, allocations: 48.23 kB / 1.049 GB, free: 7.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.496, allocations: 4 kB / 1.049 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.496, allocations: 0 / 1.049 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.496, allocations: 0 / 1.049 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.4979, allocations: 0.8739 MB / 1.05 GB, free: 6.336 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.4979, allocations: 3.938 kB / 1.05 GB, free: 6.332 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/0.4984, allocations: 51.91 kB / 1.05 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.4985, allocations: 0 / 1.05 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.4985, allocations: 11.98 kB / 1.05 GB, free: 6.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.4985, allocations: 0 / 1.05 GB, free: 6.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4985, allocations: 0 / 1.05 GB, free: 6.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.5001, allocations: 0.5809 MB / 1.05 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.5003, allocations: 144.6 kB / 1.051 GB, free: 5.512 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.149e-05/0.5004, allocations: 8 kB / 1.051 GB, free: 5.504 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004005/0.5008, allocations: 27.98 kB / 1.051 GB, free: 5.477 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.501, allocations: 27.95 kB / 1.051 GB, free: 5.449 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.501, allocations: 8 kB / 1.051 GB, free: 5.441 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004173/0.5014, allocations: 255.2 kB / 1.051 GB, free: 5.191 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.41e-07/0.5015, allocations: 0 / 1.051 GB, free: 5.191 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005218/0.502, allocations: 87.75 kB / 1.051 GB, free: 5.105 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001906/0.5022, allocations: 120.8 kB / 1.051 GB, free: 4.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.5032, allocations: 287.7 kB / 1.051 GB, free: 4.699 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5032, allocations: 0 / 1.051 GB, free: 4.699 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.5037, allocations: 151.8 kB / 1.051 GB, free: 4.551 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.5045, allocations: 77.7 kB / 1.052 GB, free: 4.477 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.507, allocations: 0.9661 MB / 1.053 GB, free: 3.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.5075, allocations: 0.8269 MB / 1.053 GB, free: 2.625 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003377/0.5078, allocations: 39.28 kB / 1.053 GB, free: 2.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.508, allocations: 35.42 kB / 1.053 GB, free: 2.555 MB / 0.698 GB Notification: Performance of SimCode: time 1.302e-06/0.508, allocations: 0 / 1.053 GB, free: 2.555 MB / 0.698 GB Notification: Performance of Templates: time 0.5881/1.096, allocations: 3.712 MB / 1.057 GB, free: 148.4 MB / 0.698 GB