Terminals are tight, I think they became hot due to high Amperes running through the wires.
I changed the charging wire back to old wire, now it starts charging at 13-16A and after it reaches 26V the charging rate drops down to 10A and below. Near cutoff the charging rate is 4-6A.
This setting is slow but I guess it's safe for batteries and UPS, right???