Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_11_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.001737/0.001737, allocations: 115.3 kB / 16.43 MB, free: 6.523 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.00177/0.00177, allocations: 183.2 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.087/1.087, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.12/2.12, allocations: 469.8 MB / 0.7431 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.049e-05, allocations: 6.438 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001237/0.001256, allocations: 0.7793 MB / 1.067 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.002496, allocations: 1.24 MB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.002547, allocations: 7.938 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.002586, allocations: 11.86 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.145e-05/0.002656, allocations: 19.8 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.003194, allocations: 253.1 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.003438, allocations: 267.6 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.003544, allocations: 37.11 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.777e-05/0.003648, allocations: 107.7 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.003758, allocations: 99.67 kB / 1.069 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.003802, allocations: 28 kB / 1.069 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.207e-05/0.003878, allocations: 35.98 kB / 1.069 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.000152/0.004036, allocations: 241.8 kB / 1.069 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 5.144e-05/0.004093, allocations: 118.3 kB / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.004133, allocations: 23.94 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.354e-05/0.004151, allocations: 3.938 kB / 1.069 GB, free: 10.32 MB / 0.8419 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.0005521/0.004708, allocations: 0.5865 MB / 1.07 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 1.675e-05/0.00473, allocations: 15.95 kB / 1.07 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0005242/0.005259, allocations: 0.5896 MB / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001187/0.005386, allocations: 152.3 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of Alias: time 0.0005712/0.005963, allocations: 0.4935 MB / 1.071 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001072/0.006079, allocations: 132.3 kB / 1.071 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002928/0.006377, allocations: 298.6 kB / 1.071 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of Events: time 0.0003919/0.006779, allocations: 337 kB / 1.072 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of Partitioning: time 7.327e-05/0.00686, allocations: 64.08 kB / 1.072 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002385/0.007104, allocations: 203.8 kB / 1.072 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.000319/0.00743, allocations: 392 kB / 1.072 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of Inline: time 0.0005814/0.008018, allocations: 0.6686 MB / 1.073 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.973e-05/0.008047, allocations: 24.06 kB / 1.073 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001075/0.008159, allocations: 127.8 kB / 1.073 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0005918/0.008755, allocations: 0.5298 MB / 1.073 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of Tearing: time 8.376e-06/0.008772, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of Initialization: time 1.423e-06/0.008779, allocations: 7.938 kB / 1.073 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of Tearing: time 1.162e-06/0.008783, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of Categorize: time 5.059e-06/0.008792, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of Solve: time 5.678e-05/0.008851, allocations: 37.59 kB / 1.074 GB, free: 5.344 MB / 0.8419 GB Notification: Performance of Jacobian: time 1.964e-06/0.008858, allocations: 0 / 1.074 GB, free: 5.344 MB / 0.8419 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: ......... 1 * 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) {falCleTruIni.u, swiCleInp.clr, swiCleInp1.y, swiCleInp.y, truCleFalIni.y, falCleFalIni.y, truCleTruIni.y, falCleTruIni.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$TEV_27, $TEV_26, $TEV_25, $TEV_24} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 4 (scalar:4, 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: ........... 18 (scalar:18, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:8, when:0, 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: Performance of backend: time 4.027e-05/0.008901, allocations: 30.64 kB / 1.074 GB, free: 5.316 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false