Filament material for chemical application
There are two issues you have here, one is temperature stability and the other is chemical reactivity of plastics. I can't help you with the chemistry side, but I can help with the temperature.
Application 1 (Temp &lt; 40 °C)
Any FDM plastic will perform reasonably well under these temperatures. I would suggest trying a Nylon, PETG or a PolyCarbonate filament as I know these are more resistant to acids than PLA or ABS. As far as strength of the parts, all FDM plastics will work well
Application 2 (Temp &gt; 180 °C)
This temperature range is above the glass transition temperature of the PLA, ABS, PETG and Nylon are all well below 180 °C and therefore aren't worth considering. Your best option is PolyCarbonate, or PolyCarbonate-ABS which are both fairly high (roughly 140-150 °C). However, are both below your minimum temperature threshold.
My conclusion is to try a polycarbonate sample and see how it reacts to the chemicals you're working with, though it doesn't look hopeful.
For Chemical reactivity, I did some Google-fu and found a few links that look helpful for PolyCarbonate:

Chemical resistance polycarbonate

Polycarbonate Chemical Compatibility Chart