Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.001109/0.001109, allocations: 109.6 kB / 16.42 MB, free: 6.48 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.001071/0.001071, allocations: 186.1 kB / 17.35 MB, free: 5.703 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.136/1.136, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.179/2.179, allocations: 469.8 MB / 0.7431 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041e-05/1.042e-05, allocations: 2.281 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.00131/0.00133, allocations: 0.7672 MB / 1.067 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.002867, allocations: 1.338 MB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.002924, allocations: 4 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.454e-05/0.002964, allocations: 11.86 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.856e-05/0.003038, allocations: 23.73 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/0.003657, allocations: 313.3 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.003983, allocations: 383.5 kB / 1.069 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.004096, allocations: 41.09 kB / 1.069 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.00423, allocations: 155.7 kB / 1.069 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.004391, allocations: 135.6 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.575e-05/0.004453, allocations: 36 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.533e-05/0.004543, allocations: 47.98 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0003074/0.004858, allocations: 317.7 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 5.02e-05/0.004915, allocations: 118.3 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.004963, allocations: 27.94 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.636e-05/0.004984, allocations: 11.88 kB / 1.069 GB, free: 9.871 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.0007401/0.005728, allocations: 0.7476 MB / 1.07 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 2.5e-05/0.005759, allocations: 19.94 kB / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0008341/0.006598, allocations: 0.8754 MB / 1.071 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001923/0.006799, allocations: 193.2 kB / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of Alias: time 0.0006861/0.007491, allocations: 0.5835 MB / 1.072 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001406/0.00764, allocations: 176.1 kB / 1.072 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0004041/0.008051, allocations: 431.4 kB / 1.072 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of Events: time 0.000719/0.008777, allocations: 0.5949 MB / 1.073 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002531/0.009039, allocations: 211.5 kB / 1.073 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0008009/0.009846, allocations: 0.6662 MB / 1.074 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.000775/0.01063, allocations: 0.8944 MB / 1.075 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of Inline: time 0.001179/0.01181, allocations: 1.315 MB / 1.076 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.783e-05/0.01187, allocations: 36.97 kB / 1.076 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001945/0.01207, allocations: 259.6 kB / 1.076 GB, free: 2.516 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) $TEV_24 = false ($RES_SIM_5); [SCAL] (1) $TEV_25 = false ($RES_SIM_6); [SCAL] (1) not $TEV_25 = false ($RES_SIM_9); [SCAL] (1) $TEV_28 = false ($RES_SIM_11); [SCAL] (1) $TEV_25 = false ($RES_SIM_12); [SCAL] (1) not $TEV_25 = false ($RES_SIM_15); [SCAL] (1) $TEV_31 = false ($RES_SIM_17); [SCAL] (1) $TEV_25 = false ($RES_SIM_18); [SCAL] (1) swiCleInp.clr = $PRE.swiCleInp.clr ($RES_SRT_85); [SCAL] (1) swiCleInp.u = $PRE.swiCleInp.u ($RES_SRT_84); Notification: Performance of Causalize: time 0.001702/0.01377, allocations: 1.445 MB / 1.078 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of Tearing: time 8.906e-06/0.01379, allocations: 0 / 1.078 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of Initialization: time 3.5e-07/0.0138, allocations: 4 kB / 1.078 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of Tearing: time 2.424e-06/0.01381, allocations: 0 / 1.078 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of Categorize: time 6.232e-06/0.01382, allocations: 0 / 1.078 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001991/0.01402, allocations: 122 kB / 1.078 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.555e-06/0.01403, allocations: 0 / 1.078 GB, free: 0.9023 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.169e-05/0.01407, allocations: 49.42 kB / 1.078 GB, free: 0.8633 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not swiCleInp.clr