Re-sync clean exception of generic error message
Fix domain concatenation between list and tuple

issue3395
Fix ModelSingleton when reading rec_name via default values

review1114003
Add test for reading ModelSingleton rec_name via default values

review1114003
Fix flake8