Program: 51564
Project: 51564
Buggy source:
public static void main(String[] argv) throws ConnectionError, ContentError, RuntimeError, ParseError, ParseException, BuildException, XMLException {
  if (argv.length == 0) {
    System.err.println("String_Node_Str");
    showUsage();
    System.exit(1);
  }
  if (argv.length == 1 && (argv[0].equals("String_Node_Str") || argv[0].equals("String_Node_Str") || argv[0].equals("String_Node_Str"))) {
    showUsage();
    System.exit(0);
  }
  HashMap<String,String> argMap=parseArguments(argv);
  String typePath=null;
  String modelName=null;
  boolean verbose=false;
  if (argMap.containsKey("String_Node_Str")) {
    typePath=argMap.get("String_Node_Str");
    argMap.remove("String_Node_Str");
  }
  if (argMap.containsKey("String_Node_Str")) {
    modelName=argMap.get("String_Node_Str");
    argMap.remove("String_Node_Str");
  }
  if (modelName == null) {
    showUsage();
    System.exit(1);
  }
  File simFile=new File(modelName);
  if (!simFile.exists()) {
    E.error("String_Node_Str" + simFile.getAbsolutePath());
    System.exit(1);
  }
  FileInclusionReader fir=new FileInclusionReader(simFile);
  if (typePath != null) {
    fir.addSearchPaths(typePath);
  }
  Sim sim=new Sim(fir.read());
  sim.readModel();
  sim.build();
  ControlPanel.getInstance().registerSimulation(sim,simFile);
  StateInstance si=sim.getRootState(false);
  StateType st=sim.getTargetBehavior();
  if (verbose) {
    System.out.println("String_Node_Str");
    System.out.println(st.getSummary("String_Node_Str","String_Node_Str") + "String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println(si.getSummary("String_Node_Str","String_Node_Str") + "String_Node_Str");
  }
  boolean doRun=true;
  if (doRun) {
    sim.run();
    E.info("String_Node_Str");
  }
  IOUtil.saveReportAndTimesFile(sim);
}

Fixed version (ground truth):
public static void main(String[] argv) throws ConnectionError, ContentError, RuntimeError, ParseError, ParseException, BuildException, XMLException {
  if (argv.length == 0) {
    System.err.println("String_Node_Str");
    showUsage();
    System.exit(1);
  }
  if (argv.length == 1 && (argv[0].equals("String_Node_Str") || argv[0].equals("String_Node_Str") || argv[0].equals("String_Node_Str"))) {
    showUsage();
    System.exit(0);
  }
  HashMap<String,String> argMap=parseArguments(argv);
  String typePath=null;
  String modelName=null;
  boolean verbose=false;
  if (argMap.containsKey("String_Node_Str")) {
    typePath=argMap.get("String_Node_Str");
    argMap.remove("String_Node_Str");
  }
  if (argMap.containsKey("String_Node_Str")) {
    modelName=argMap.get("String_Node_Str");
    argMap.remove("String_Node_Str");
  }
  if (modelName == null) {
    showUsage();
    System.exit(1);
  }
  final String typePathArg=typePath;
  ControlPanel cp=new ControlPanel(){
    @Override public Sim importFile(    File simFile){
      if (!simFile.exists()) {
        E.error("String_Node_Str" + simFile.getAbsolutePath());
        System.exit(1);
      }
      FileInclusionReader fir=new FileInclusionReader(simFile);
      if (typePathArg != null) {
        fir.addSearchPaths(typePathArg);
      }
      try {
        Sim sim=new Sim(fir.read());
        sim.readModel();
        sim.build();
        return sim;
      }
 catch (      Exception e) {
        return null;
      }
    }
  }
;
  File simFile=new File(modelName);
  Sim sim=cp.initialise(simFile);
  StateInstance si=sim.getRootState(false);
  StateType st=sim.getTargetBehavior();
  if (verbose) {
    System.out.println("String_Node_Str");
    System.out.println(st.getSummary("String_Node_Str","String_Node_Str") + "String_Node_Str");
    System.out.println("String_Node_Str");
    System.out.println(si.getSummary("String_Node_Str","String_Node_Str") + "String_Node_Str");
  }
  boolean doRun=true;
  if (doRun) {
    sim.run();
    E.info("String_Node_Str");
  }
  IOUtil.saveReportAndTimesFile(sim);
}