What will happen to Bitcoin when it takes years to complete a calculation?
Mining is a self-adjusting system. The difficulty only rises in accordance to the available mining power. Hence, it can neither go to a difficulty where it will take months for a block to be found, nor can it become prohibitely expensive to mine.

Also see How is difficulty calculated?.