Basically, you are consulting for the company to solve an issue, and the open source is an enabler.
And $240k/year is what they pay an individual contributor. You are basically being paid for your time and expertise and not really for your product.
Source code is freely available. We sell ready-to-run binaries, almost entirely to individual end users (desktop application).