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.Latch.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.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 108.8 kB / 16.42 MB, free: 6.512 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.001504/0.001504, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.536/1.536, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.388/1.388, allocations: 251.7 MB / 0.51 GB, free: 424 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.535e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002496/0.002533, allocations: 1.512 MB / 0.7279 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007314/0.003277, allocations: 353.2 kB / 0.7282 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.003346, allocations: 4 kB / 0.7282 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.812e-05/0.003399, allocations: 15.8 kB / 0.7282 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.916e-05/0.003503, allocations: 11.81 kB / 0.7282 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.003804, allocations: 115.8 kB / 0.7284 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.004067, allocations: 267.5 kB / 0.7286 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.004266, allocations: 53.05 kB / 0.7287 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.004401, allocations: 111.8 kB / 0.7288 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.00452, allocations: 99.62 kB / 0.7289 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.004566, allocations: 24 kB / 0.7289 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.478e-05/0.004605, allocations: 28 kB / 0.7289 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0002507/0.00486, allocations: 269.6 kB / 0.7292 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 6.849e-05/0.004936, allocations: 130.1 kB / 0.7293 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.378e-05/0.004996, allocations: 23.94 kB / 0.7293 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.217e-05/0.005025, allocations: 15.88 kB / 0.7293 GB, free: 1.723 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.0008751/0.005904, allocations: 0.7671 MB / 0.7301 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 3.973e-05/0.005949, allocations: 27.92 kB / 0.7301 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0006341/0.006588, allocations: 0.6649 MB / 0.7308 GB, free: 136 kB / 0.5606 GB Notification: Performance of simplify1: time 5.993e-05/0.006655, allocations: 47.89 kB / 0.7308 GB, free: 88 kB / 0.5606 GB Notification: Performance of Alias: time 0.0008494/0.00751, allocations: 0.6149 MB / 0.7314 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of simplify2: time 4.473e-05/0.007566, allocations: 47.89 kB / 0.7314 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of Events: time 0.0004343/0.008005, allocations: 285.1 kB / 0.7317 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0004345/0.008449, allocations: 356.3 kB / 0.7321 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0002788/0.008735, allocations: 239.6 kB / 0.7323 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001321/0.01006, allocations: 1.237 MB / 0.7335 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0007116/0.01078, allocations: 0.7741 MB / 0.7342 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of Inline: time 0.001043/0.01184, allocations: 1.017 MB / 0.7352 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of Partitioning: time 6.454e-05/0.01191, allocations: 50.36 kB / 0.7353 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of Cleanup: time 6.579e-05/0.01198, allocations: 75.86 kB / 0.7354 GB, free: 11.23 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.002457/0.01445, allocations: 2.345 MB / 0.7377 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of Tearing: time 7.333e-06/0.01446, allocations: 3.938 kB / 0.7377 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of Initialization: time 7.51e-07/0.01447, allocations: 0 / 0.7377 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of Tearing: time 4.979e-06/0.01448, allocations: 4 kB / 0.7377 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of Categorize: time 1.268e-05/0.0145, allocations: 0 / 0.7377 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of Solve: time 0.0004084/0.01491, allocations: 395 kB / 0.738 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of Jacobian: time 3.116e-06/0.01492, allocations: 0 / 0.738 GB, free: 8.449 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) {latInp.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: ................. 28 (28) {falCle.u, swiCleInp.clr, $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: ........... 28 (scalar:28, 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: ........... 49 (scalar:49, 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 4.859e-05/0.01498, allocations: 37.41 kB / 0.7381 GB, free: 8.422 MB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not swiCleInp.clr