Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0011/0.0011, allocations: 112.3 kB / 16.42 MB, free: 6.488 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.001038/0.001038, allocations: 185.9 kB / 17.35 MB, free: 5.754 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.119/1.119, 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 9.1.3-maint.9.1.x/package.mo): time 1.855/1.855, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.143e-05, allocations: 4.953 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001324/0.001345, allocations: 0.7839 MB / 0.9522 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.002809, allocations: 1.331 MB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.002866, allocations: 4 kB / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.002904, allocations: 15.8 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.15e-05/0.002978, allocations: 11.86 kB / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006012/0.003584, allocations: 315.1 kB / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003201/0.003911, allocations: 387.5 kB / 0.9542 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.00403, allocations: 53.09 kB / 0.9543 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.004167, allocations: 159.7 kB / 0.9544 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.004313, allocations: 147.5 kB / 0.9546 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.278e-05/0.004371, allocations: 36 kB / 0.9546 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.78e-05/0.004455, allocations: 51.98 kB / 0.9547 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0002083/0.004669, allocations: 313.8 kB / 0.955 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 5.237e-05/0.004727, allocations: 114.3 kB / 0.9551 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.797e-05/0.00478, allocations: 31.94 kB / 0.9551 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.3e-05/0.004798, allocations: 3.938 kB / 0.9551 GB, free: 3.938 MB / 0.7325 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.000837/0.005638, allocations: 0.9584 MB / 0.956 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 2.231e-05/0.005666, allocations: 15.92 kB / 0.9561 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0009389/0.00661, allocations: 1.149 MB / 0.9572 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of simplify1: time 3.924e-05/0.006657, allocations: 47.89 kB / 0.9572 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of Alias: time 0.0008495/0.007511, allocations: 0.8409 MB / 0.9581 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of simplify2: time 3.393e-05/0.007553, allocations: 47.84 kB / 0.9581 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0004143/0.007972, allocations: 0.4905 MB / 0.9586 GB, free: 180 kB / 0.7325 GB Notification: Performance of Events: time 0.000715/0.008695, allocations: 0.6131 MB / 0.9592 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0002455/0.008949, allocations: 263.6 kB / 0.9594 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of Causalize: time 0.0008679/0.009825, allocations: 0.8754 MB / 0.9603 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of After Index Reduction Inline: time 0.0009176/0.01075, allocations: 1.149 MB / 0.9614 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of Inline: time 0.001342/0.0121, allocations: 1.646 MB / 0.963 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of Partitioning: time 4.946e-05/0.01216, allocations: 57 kB / 0.9631 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of Cleanup: time 5.599e-05/0.01222, allocations: 75.88 kB / 0.9631 GB, free: 11.39 MB / 0.7481 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.002174/0.0144, allocations: 2.164 MB / 0.9652 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of Tearing: time 1.037e-05/0.01442, allocations: 3.938 kB / 0.9653 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of Initialization: time 3.81e-07/0.01442, allocations: 0 / 0.9653 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of Tearing: time 2.715e-06/0.01443, allocations: 0 / 0.9653 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of Categorize: time 9.858e-06/0.01444, allocations: 12 kB / 0.9653 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of Solve: time 0.0001729/0.01462, allocations: 134 kB / 0.9654 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of Jacobian: time 3.307e-06/0.01463, allocations: 3.938 kB / 0.9654 GB, free: 9.031 MB / 0.7481 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 3.399e-05/0.01467, allocations: 34.66 kB / 0.9654 GB, free: 9.004 MB / 0.7481 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not swiCleInp.clr