Flexible model selection for mechanistic network models. (2nd August 2019)