The timeout is approximately 45 seconds. Only two ways your compressor would be on for this amount of time.
1. You installed the ASHAM 8 (I do not believe you installed this driver height adjustment module)
2. You have a large leak that takes this amount of time to re-fill. It is normal for the compressor to come on each time after the car is parked. The air system has a Park Height Drop, where it lowers the M8 to "Park Height". then when the driver returns and starts the car, it raises the car back to driving height. This should take between 5 to 10 seconds. Similar to when you come off the hwy and the car raises from hwy speed height to city speed height (car lowers almost an inch for anything above 55 mph, I read some say 65mph depending on the year of the M8)
Below is from ASHAM 8 instruction manual:
If you change the height from the lowest position to the highest, the computer might
Error, because only a limited time (about 45 sec) available to running the compressor. If the height change requires more time, the computer displays “Check air ride system” message. In this case you turn off the ignition.