Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001217/0.001217, allocations: 115.4 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.001181/0.001181, allocations: 179.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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.218/2.218, allocations: 437 MB / 0.7111 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.785e-05, allocations: 2.281 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001412/0.00144, allocations: 0.7842 MB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.003004, allocations: 1.327 MB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.003081, allocations: 0 / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.003127, allocations: 11.86 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.003209, allocations: 27.78 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.003938, allocations: 309 kB / 1.022 GB, free: 6.992 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.004317, allocations: 379.5 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.004451, allocations: 57.09 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.00463, allocations: 151.8 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.004806, allocations: 151.5 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.004871, allocations: 36 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.716e-05/0.004974, allocations: 51.98 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0002088/0.005188, allocations: 309.7 kB / 1.023 GB, free: 5.875 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 6.195e-05/0.005256, allocations: 114.3 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.623e-05/0.005317, allocations: 31.94 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.054e-05/0.005342, allocations: 3.938 kB / 1.023 GB, free: 5.727 MB / 0.795 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.0008834/0.00623, allocations: 0.9467 MB / 1.024 GB, free: 4.68 MB / 0.795 GB Notification: Performance of FunctionAlias: time 2.942e-05/0.006264, allocations: 19.94 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of Early Inline: time 0.001012/0.007281, allocations: 1.133 MB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of simplify1: time 5.199e-05/0.007341, allocations: 47.91 kB / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of Alias: time 0.0009751/0.008321, allocations: 0.8336 MB / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of simplify2: time 4.776e-05/0.00838, allocations: 43.91 kB / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of Detect States: time 0.0004936/0.008881, allocations: 0.4908 MB / 1.026 GB, free: 2 MB / 0.795 GB Notification: Performance of Events: time 0.0007046/0.009594, allocations: 0.5783 MB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0002636/0.009866, allocations: 255.6 kB / 1.027 GB, free: 1.148 MB / 0.795 GB Notification: Performance of Causalize: time 0.0009442/0.01082, allocations: 0.8767 MB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0009638/0.01179, allocations: 1.114 MB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of Inline: time 0.00153/0.01333, allocations: 1.601 MB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of Partitioning: time 6.619e-05/0.0134, allocations: 60.95 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of Cleanup: time 8.626e-05/0.01349, allocations: 75.88 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $TEV_24 = false ($RES_SIM_5) slice: {}; [SCAL] (1) $TEV_25 = false ($RES_SIM_6) slice: {}; [SCAL] (1) not $TEV_25 = false ($RES_SIM_9) slice: {}; [SCAL] (1) not $TEV_25 = false ($RES_SIM_12) slice: {}; [SCAL] (1) $TEV_28 = false ($RES_SIM_14) slice: {}; [SCAL] (1) $TEV_25 = false ($RES_SIM_15) slice: {}; [SCAL] (1) $TEV_30 = false ($RES_SIM_17) slice: {}; [SCAL] (1) $TEV_25 = false ($RES_SIM_18) slice: {}; [SCAL] (1) swiCleInp.clr = $PRE.swiCleInp.clr ($RES_SRT_85) slice: {}; [SCAL] (1) falCleTruIni.u = $PRE.falCleTruIni.u ($RES_SRT_84) slice: {}; Notification: Performance of Causalize: time 0.002278/0.01578, allocations: 2.012 MB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of Tearing: time 1.143e-05/0.0158, allocations: 3.984 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of Initialization: time 5.21e-07/0.01581, allocations: 0 / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of Tearing: time 3.888e-06/0.01581, allocations: 0 / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of Categorize: time 8.666e-06/0.01583, allocations: 4 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of Solve: time 0.0001841/0.01602, allocations: 130 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of Jacobian: time 2.755e-06/0.01603, allocations: 4 kB / 1.033 GB, free: 11.14 MB / 0.8106 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) {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: ................. 32 (32) {$SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $TEV_37, $TEV_36, $TEV_35, $TEV_34, $TEV_33, $TEV_32, $TEV_31, $TEV_30, $TEV_29, $TEV_28, $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: ........... 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: ........... 48 (scalar:48, 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 6.059e-05/0.01609, allocations: 36.61 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not swiCleInp.clr