CONTAM is not open source.
It does, however, offer a number of built-in ways to run it in a co-simulation environment. While I haven't used it, the consensus seems to be that the newest co-sim approach, which provides Python bindings to the ContamX simulation engine, is the best way to go:
-Dave