def time(model):
    """
    Deprecated alias of :meth:`Model.timex()`.
    """
    import warnings
    warnings.warn(
        'The method `myokit.lib.multi.time()` is deprecated and will be removed in future versions of Myokit. Please use `Model.timex()` instead.'
        )
    return model.timex()
