Static Analysis of Real-time Distributed Systems