[CRASH] remove assert in opt and silence it as it is normal that it can't be applied.
Merge pull request #1999 from nouiz/warning_opt_upcast_elemwise_constant

[CRASH] remove assert in opt and remove print