Ok I have shortened the file to a couple of parts and the chapters to two or three.
I am using the latest version of Calibre .6.45. I am using the program itself to convert, selecting Markdown in Text input. As you can see, the parts are in the TOC because of ## but the chapters are missing. I used ### in front of the chapter headings
|