Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001095/0.001095, allocations: 108.6 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.001063/0.001063, allocations: 185.9 kB / 17.36 MB, free: 5.73 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.139/1.139, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.191/2.191, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.399e-05, allocations: 2.281 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001401/0.001425, allocations: 0.7828 MB / 1.055 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.003169, allocations: 1.334 MB / 1.057 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.631e-05/0.003266, allocations: 4 kB / 1.057 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.341e-05/0.003315, allocations: 11.86 kB / 1.057 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.277e-05/0.003415, allocations: 19.75 kB / 1.057 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000803/0.004224, allocations: 323.2 kB / 1.057 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.004583, allocations: 379.5 kB / 1.057 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.004716, allocations: 57.05 kB / 1.057 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.004893, allocations: 159.7 kB / 1.058 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.00507, allocations: 143.5 kB / 1.058 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.807e-05/0.005134, allocations: 36 kB / 1.058 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.005229, allocations: 48 kB / 1.058 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002078/0.005445, allocations: 321.7 kB / 1.058 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 5.826e-05/0.005509, allocations: 114.3 kB / 1.058 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.005566, allocations: 27.94 kB / 1.058 GB, free: 4 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.045e-05/0.005591, allocations: 11.88 kB / 1.058 GB, free: 3.988 MB / 0.8262 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.0008662/0.006461, allocations: 0.9429 MB / 1.059 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 2.862e-05/0.006495, allocations: 23.92 kB / 1.059 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0009908/0.00749, allocations: 1.133 MB / 1.06 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of simplify1: time 5.396e-05/0.007553, allocations: 55.89 kB / 1.06 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of Alias: time 0.0009142/0.008472, allocations: 0.8336 MB / 1.061 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of simplify2: time 5.068e-05/0.008532, allocations: 43.91 kB / 1.061 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of Events: time 0.0007638/0.0093, allocations: 0.645 MB / 1.062 GB, free: 120 kB / 0.8262 GB Notification: Performance of Detect States: time 0.0005494/0.009859, allocations: 0.5767 MB / 1.062 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002455/0.01011, allocations: 255.6 kB / 1.063 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0009435/0.01106, allocations: 0.8809 MB / 1.064 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.000939/0.01201, allocations: 1.153 MB / 1.065 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of Inline: time 0.001419/0.01344, allocations: 1.641 MB / 1.066 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of Partitioning: time 6.038e-05/0.0135, allocations: 56.97 kB / 1.066 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of Cleanup: time 7.195e-05/0.01358, allocations: 87.8 kB / 1.066 GB, free: 11.34 MB / 0.8419 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) pre(not swiCleInp.clr) = false ($RES_SIM_2) slice: {}; [SCAL] (1) $TEV_24 = false ($RES_SIM_6) slice: {}; [SCAL] (1) pre(not swiCleInp.u) = false ($RES_SIM_9) slice: {}; [SCAL] (1) $TEV_28 = false ($RES_SIM_11) slice: {}; [SCAL] (1) $TEV_24 = false ($RES_SIM_12) slice: {}; [SCAL] (1) pre(not swiCleInp.u) = false ($RES_SIM_15) slice: {}; [SCAL] (1) $TEV_31 = false ($RES_SIM_17) slice: {}; [SCAL] (1) $TEV_24 = 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.002281/0.01587, allocations: 2.122 MB / 1.068 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of Tearing: time 8.265e-06/0.01589, allocations: 4 kB / 1.068 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of Initialization: time 1.593e-06/0.01589, allocations: 0 / 1.068 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of Tearing: time 3.567e-06/0.0159, allocations: 7.922 kB / 1.069 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of Categorize: time 8.206e-06/0.01592, allocations: 4 kB / 1.069 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001785/0.0161, allocations: 130 kB / 1.069 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.545e-06/0.01611, allocations: 0 / 1.069 GB, free: 9.035 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: ......... 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.162e-05/0.01615, allocations: 42.19 kB / 1.069 GB, free: 9 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not swiCleInp.clr