As reported by Finn O'Shea: the optimizer get stuck from time to time with the following example:
fdopt.in fdopt.data fdopt.tmpl