code: def get_end_time(self):
          
          end_time = c_double()
          self.library.get_end_time.argtypes = [POINTER(c_double)]
          self.library.get_end_time.restype = None
          self.library.get_end_time(byref(end_time))
          return end_time.value
docs: returns end time of simulation