General OOD Detection via Model-aware and Subspace-aware Variable Priority