Was just dealing with this a second ago. For the iMini, it seems you can only choose “Virtual MIDI” as the output port – if you choose the actual “iMini” entry in the MIDI outputs, no joy. “Virtual MIDI” causes it to sound properly.
Not sure about the DM1!