Optically Isolated means the input has no current flow or connection to the output, a lot like a Relay!
By using one wire on the output you are connecting your wires to a floating point in your circuit!
The outputs will not work unless both connections are used, you need a common ground or common live to one side of each output in order for there to be any signal at the other side of the output! :D