SPE 182681-MS A General Non-Uniform Coarsening and Upscaling Framework for Reduced-Order Modeling