Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 108.8 kB / 16.42 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 189.5 kB / 17.36 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 251.7 MB / 0.51 GB, free: 428 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.802e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.002438/0.002478, allocations: 1.492 MB / 0.7279 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008073/0.003298, allocations: 369.2 kB / 0.7282 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.00337, allocations: 3.938 kB / 0.7282 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.219e-05/0.003417, allocations: 7.875 kB / 0.7282 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.181e-05/0.003521, allocations: 23.78 kB / 0.7283 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.003825, allocations: 119.8 kB / 0.7284 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.004091, allocations: 267.5 kB / 0.7286 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.004288, allocations: 53.09 kB / 0.7287 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.004422, allocations: 115.8 kB / 0.7288 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.004555, allocations: 103.6 kB / 0.7289 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.004606, allocations: 24 kB / 0.7289 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.632e-05/0.004647, allocations: 28 kB / 0.7289 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0002214/0.004875, allocations: 281.6 kB / 0.7292 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 7.102e-05/0.004951, allocations: 122.2 kB / 0.7293 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.005012, allocations: 27.94 kB / 0.7293 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.11e-05/0.005038, allocations: 7.875 kB / 0.7293 GB, free: 1.672 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 (26) * Number of variables: 26 (26) Notification: Performance of Bindings: time 0.0009159/0.00596, allocations: 0.771 MB / 0.7301 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 3.804e-05/0.006004, allocations: 35.84 kB / 0.7301 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.000658/0.006667, allocations: 0.665 MB / 0.7308 GB, free: 72 kB / 0.5606 GB Notification: Performance of simplify1: time 6.325e-05/0.006739, allocations: 59.89 kB / 0.7308 GB, free: 12 kB / 0.5606 GB Notification: Performance of Alias: time 0.0008741/0.007619, allocations: 0.6227 MB / 0.7315 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simplify2: time 4.822e-05/0.007677, allocations: 51.91 kB / 0.7315 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of Events: time 0.0004645/0.008147, allocations: 348.3 kB / 0.7318 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0004087/0.008564, allocations: 392.2 kB / 0.7322 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0002949/0.008867, allocations: 259.6 kB / 0.7325 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001747/0.01062, allocations: 1.418 MB / 0.7338 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0008023/0.01143, allocations: 0.8834 MB / 0.7347 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of Inline: time 0.001139/0.01258, allocations: 1.126 MB / 0.7358 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of Partitioning: time 6.514e-05/0.01266, allocations: 64.97 kB / 0.7359 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of Cleanup: time 7.37e-05/0.01274, allocations: 75.88 kB / 0.7359 GB, free: 10.61 MB / 0.5762 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $TEV_0 = false ($RES_SIM_6) slice: {}; [SCAL] (1) $TEV_0 = false ($RES_SIM_9) slice: {}; [SCAL] (1) $TEV_4 = false ($RES_SIM_11) slice: {}; [SCAL] (1) $TEV_0 = false ($RES_SIM_12) slice: {}; [SCAL] (1) $TEV_0 = false ($RES_SIM_15) slice: {}; [SCAL] (1) $TEV_4 = false ($RES_SIM_17) slice: {}; [SCAL] (1) $TEV_0 = false ($RES_SIM_18) slice: {}; [SCAL] (1) $SEV_1 = time >= cleInp.pulseStart and time < (cleInp.pulseStart + cleInp.Twidth) ($RES_EVT_59) slice: {}; Notification: Performance of Causalize: time 0.003158/0.0159, allocations: 2.96 MB / 0.7388 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of Tearing: time 9.006e-06/0.01592, allocations: 3.938 kB / 0.7388 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of Initialization: time 5.71e-07/0.01593, allocations: 0 / 0.7388 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of Tearing: time 3.767e-06/0.01594, allocations: 0 / 0.7388 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of Categorize: time 1.69e-05/0.01596, allocations: 4.094 kB / 0.7388 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of Solve: time 0.0004744/0.01644, allocations: 411.1 kB / 0.7392 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of Jacobian: time 4.459e-06/0.01645, allocations: 3.938 kB / 0.7392 GB, free: 7.215 MB / 0.5762 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 8 (8) {togInp.pulseStart, cleInp.pulseStart, swiCleInp1.y, swiCleInp.y, iniTruOut.y, iniFalOut.y, truCle.y, falCle.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 32 (32) {falCle.u, swiCleInp.clr, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_11, $TEV_10, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 32 (scalar:32, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 53 (scalar:53, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:6, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 5.809e-05/0.01652, allocations: 39.36 kB / 0.7393 GB, free: 7.188 MB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not swiCleInp.clr