Flammables or solutions with low flash points should never be used. The energy released by cavitation is converted to heat and kinetic energy, generating high temperature gradients in the solution, and can create hazardous conditions with flammable liquids.
I must add that this is only applicable in the case of true ultrasonic cleaners. True ultrasonic cleaners use ultrasound waves between 20-400 kHz; do not confuse these with 'sonic' cleaners, which simply vibrate the object and solution.
My cleaner also has a heater, which can heat the solution up to 60 degrees centigrade. Again, this is a source of ignition, as well as causing more rapid vaporization of the cleaning solution solvents. It can create a hazardous atmosphere in a very short time if not kept well ventilated.
I have given you fair warning!