Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Toggle,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.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,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.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009372/0.0009373, allocations: 109.4 kB / 16.42 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.000937/0.000937, allocations: 182 kB / 17.36 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.174/1.174, allocations: 222.9 MB / 241 MB, free: 15.15 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.15/2.15, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.113e-05, allocations: 8.047 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001454/0.001487, allocations: 0.7842 MB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.003041, allocations: 1.343 MB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.003101, allocations: 0 / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.003143, allocations: 7.875 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.16e-05/0.003226, allocations: 23.78 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006849/0.003917, allocations: 309.3 kB / 1.022 GB, free: 6.961 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.004264, allocations: 391.5 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.004405, allocations: 57.09 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.004556, allocations: 159.7 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.004724, allocations: 131.6 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.945e-05/0.004791, allocations: 43.88 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.0049, allocations: 51.98 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.000211/0.005117, allocations: 317.7 kB / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 5.554e-05/0.005178, allocations: 110.3 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.00523, allocations: 27.94 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.626e-05/0.005253, allocations: 11.94 kB / 1.023 GB, free: 5.68 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.0008718/0.006129, allocations: 0.9467 MB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of FunctionAlias: time 2.673e-05/0.006161, allocations: 23.94 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0009981/0.007164, allocations: 1.137 MB / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of simplify1: time 4.674e-05/0.007219, allocations: 59.88 kB / 1.025 GB, free: 3.383 MB / 0.795 GB Notification: Performance of Alias: time 0.0008937/0.008118, allocations: 0.8371 MB / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of simplify2: time 4.005e-05/0.008169, allocations: 51.89 kB / 1.026 GB, free: 2.426 MB / 0.795 GB Notification: Performance of Detect States: time 0.0004595/0.008634, allocations: 0.4886 MB / 1.026 GB, free: 1.922 MB / 0.795 GB Notification: Performance of Events: time 0.0007384/0.00938, allocations: 0.6163 MB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0002445/0.009634, allocations: 255.6 kB / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of Causalize: time 0.0009118/0.01055, allocations: 0.8806 MB / 1.028 GB, free: 140 kB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0009411/0.0115, allocations: 1.149 MB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of Inline: time 0.001394/0.0129, allocations: 1.639 MB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of Partitioning: time 5.607e-05/0.01297, allocations: 56.95 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of Cleanup: time 5.769e-05/0.01303, allocations: 79.86 kB / 1.031 GB, free: 13.14 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) $TEV_28 = false ($RES_SIM_11) slice: {}; [SCAL] (1) $TEV_25 = false ($RES_SIM_12) slice: {}; [SCAL] (1) not $TEV_25 = false ($RES_SIM_15) slice: {}; [SCAL] (1) $TEV_31 = 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) swiCleInp.u = $PRE.swiCleInp.u ($RES_SRT_84) slice: {}; Notification: Performance of Causalize: time 0.0023/0.01534, allocations: 2.172 MB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of Tearing: time 1.048e-05/0.01536, allocations: 0 / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of Initialization: time 1.723e-06/0.01536, allocations: 4 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of Tearing: time 3.787e-06/0.01537, allocations: 0 / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of Categorize: time 1.011e-05/0.01539, allocations: 0 / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of Solve: time 0.0001895/0.01558, allocations: 149.9 kB / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of Jacobian: time 2.555e-06/0.01559, allocations: 0 / 1.033 GB, free: 10.79 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) {swiCleInp.u, swiCleInp.clr, swiCleInp1.y, swiCleInp.y, truCleFalIni.y, truCleTruIni.y, falCleFalIni.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 4.378e-05/0.01564, allocations: 39.75 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not swiCleInp.clr